[clangd] Support indexing MACROs.
authorEric Liu <ioeric@google.com>
Mon, 9 Jul 2018 15:31:07 +0000 (15:31 +0000)
committerEric Liu <ioeric@google.com>
Mon, 9 Jul 2018 15:31:07 +0000 (15:31 +0000)
commit48db19e95a711d0a0e0f7ed835f9bfcb2c1b4892
tree869ad8103fb318865afc79ce0012874e2d0fda97
parentd3efb59f29a77625756adefa230177067c4083e9
[clangd] Support indexing MACROs.

Summary: This is not enabled in the global-symbol-builder or dynamic index yet.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, cfe-commits

Differential Revision: https://reviews.llvm.org/D49028

llvm-svn: 336553
clang-tools-extra/clangd/index/SymbolCollector.cpp
clang-tools-extra/clangd/index/SymbolCollector.h
clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp