1. [clangd] Store xref for Macros in ParsedAST. (details)
Commit 2054ed052f15b584e1bce57c8f765991eab2da7d by usx
[clangd] Store xref for Macros in ParsedAST.
This patch adds the cross references for Macros in the MainFile. We add
references for the main file to the ParsedAST. We query the references
from it using the SymbolID. Xref outside main file will be added to the
index in a separate patch.
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was addedclang-tools-extra/clangd/unittests/CollectMacrosTests.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/CollectMacros.h