Skip to content

Commit eeda288

Browse files
committed
Set SymbolKind::File
1 parent 6a488bf commit eeda288

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/indexer.cc

+1
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,7 @@ class IndexDataConsumer : public index::IndexDataConsumer {
784784
SourceRange sr = origD->getSourceRange();
785785
entity->def.spell = {use,
786786
fromTokenRangeDefaulted(sm, lang, sr, fid, loc)};
787+
entity->def.parent_kind = SymbolKind::File;
787788
getKind(cast<Decl>(sem_dc), entity->def.parent_kind);
788789
} else if (is_decl) {
789790
SourceRange sr = origD->getSourceRange();

0 commit comments

Comments
 (0)