[PATCH] D94477: [clangd] Add main file macros into the main-file index.
Aleksandr Platonov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 12 23:49:27 PST 2021
ArcsinX updated this revision to Diff 316331.
ArcsinX added a comment.
- std::pair<Range, bool> => struct MacroOccurrence
- remove addressed fixme comment
- assert() => cantFail()
- use toSourceCode() to get the macro name
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94477/new/
https://reviews.llvm.org/D94477
Files:
clang-tools-extra/clangd/CollectMacros.cpp
clang-tools-extra/clangd/CollectMacros.h
clang-tools-extra/clangd/SemanticHighlighting.cpp
clang-tools-extra/clangd/XRefs.cpp
clang-tools-extra/clangd/index/SymbolCollector.cpp
clang-tools-extra/clangd/unittests/CollectMacrosTests.cpp
clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
clang-tools-extra/clangd/unittests/ParsedASTTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94477.316331.patch
Type: text/x-patch
Size: 8673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210113/0f121b55/attachment-0001.bin>
More information about the cfe-commits
mailing list