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