This revision was automatically updated to reflect the committed changes.
kadircet marked an inline comment as done.
Closed by commit rG7d668ae38d2d: [clangd] Mark macros from preamble for code
completion (authored by kadircet).
Changed prior to commit:
https://reviews.llvm.org/D113555?vs=38610
usaxena95 accepted this revision.
usaxena95 added inline comments.
This revision is now accepted and ready to land.
Comment at: clang-tools-extra/clangd/index/SymbolCollector.cpp:567
S.CanonicalDeclaration = R.Location;
+if (!HeaderFileURIs->getIncludeHeader(SM.g
kadircet created this revision.
kadircet added reviewers: usaxena95, nridge.
Herald added a subscriber: arphaman.
kadircet requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
If the main file is a header, mark