[clangd] Do not drop diagnostics from macros
authorIlya Biryukov <ibiryukov@google.com>
Mon, 26 Nov 2018 17:05:13 +0000 (17:05 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Mon, 26 Nov 2018 17:05:13 +0000 (17:05 +0000)
commite8ccb8238d1b817848f62fc00b370076c08ae373
treed8a574ef23d9122add3b480762066855aadd9ee1
parent105fc1a5f3b98273acaf58a5738f590f7668af30
[clangd] Do not drop diagnostics from macros

if they still end up being in the main file.

llvm-svn: 347574
clang-tools-extra/clangd/Diagnostics.cpp
clang-tools-extra/unittests/clangd/ClangdUnitTests.cpp