summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/index/SymbolCollector.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-05-02 16:12:36 +0000
committerSam McCall <sam.mccall@gmail.com>2019-05-02 16:12:36 +0000
commit1b29dec05f3cc005d66be9633a85e1fce0883c38 (patch)
treed0693854709120ef409eb33ad357a637b7171aad /clang-tools-extra/clangd/index/SymbolCollector.cpp
parent26e095e84f0d0348fe27ef13f49fd09440c99a13 (diff)
downloadbcm5719-llvm-1b29dec05f3cc005d66be9633a85e1fce0883c38.tar.gz
bcm5719-llvm-1b29dec05f3cc005d66be9633a85e1fce0883c38.zip
Reapply r359778: [clangd] Fix code completion of macros defined in the preamble region of the main file.
The bad assert has been removed, and updateOutOfDateIdentifier has been guarded. This reverts commit r359796. llvm-svn: 359799
Diffstat (limited to 'clang-tools-extra/clangd/index/SymbolCollector.cpp')
-rw-r--r--clang-tools-extra/clangd/index/SymbolCollector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/index/SymbolCollector.cpp b/clang-tools-extra/clangd/index/SymbolCollector.cpp
index 05e2c5cd894..b9f321727d3 100644
--- a/clang-tools-extra/clangd/index/SymbolCollector.cpp
+++ b/clang-tools-extra/clangd/index/SymbolCollector.cpp
@@ -24,6 +24,7 @@
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/Specifiers.h"
#include "clang/Index/IndexSymbol.h"
+#include "clang/Index/IndexingAction.h"
#include "clang/Index/USRGeneration.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/Support/Casting.h"
OpenPOWER on IntegriCloud