[clangd] Set SymbolID for sema macros so that they can be merged with index macros.
authorEric Liu <ioeric@google.com>
Thu, 6 Sep 2018 09:59:37 +0000 (09:59 +0000)
committerEric Liu <ioeric@google.com>
Thu, 6 Sep 2018 09:59:37 +0000 (09:59 +0000)
commitd25f1214a8c952aa72a37a1bd9f2e68da2a792a0
tree68096f95b389717ee59e50c267e9141ee2606147
parent236f6feb8f931e7bd45304e35ec775d4b5da64a6
[clangd] Set SymbolID for sema macros so that they can be merged with index macros.

Reviewers: sammccall

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

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

llvm-svn: 341534
clang-tools-extra/clangd/AST.cpp
clang-tools-extra/clangd/AST.h
clang-tools-extra/clangd/CodeComplete.cpp
clang-tools-extra/clangd/index/SymbolCollector.cpp
clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp