mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 17:11:59 +00:00
Set SymbolKind::File
This commit is contained in:
parent
6a488bfbf4
commit
eeda2882f3
@ -784,6 +784,7 @@ public:
|
||||
SourceRange sr = origD->getSourceRange();
|
||||
entity->def.spell = {use,
|
||||
fromTokenRangeDefaulted(sm, lang, sr, fid, loc)};
|
||||
entity->def.parent_kind = SymbolKind::File;
|
||||
getKind(cast<Decl>(sem_dc), entity->def.parent_kind);
|
||||
} else if (is_decl) {
|
||||
SourceRange sr = origD->getSourceRange();
|
||||
|
Loading…
Reference in New Issue
Block a user