[PATCH] D113555: [clangd] Mark macros from preamble for code completion

2021-11-12 Thread Kadir Cetinkaya via Phabricator via cfe-commits
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

[PATCH] D113555: [clangd] Mark macros from preamble for code completion

2021-11-10 Thread Utkarsh Saxena via Phabricator via cfe-commits
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

[PATCH] D113555: [clangd] Mark macros from preamble for code completion

2021-11-10 Thread Kadir Cetinkaya via Phabricator via cfe-commits
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