summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/IndexingContext.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-01-17 18:48:07 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-01-17 18:48:07 +0000
commitda6e05476d848422e9505a22921466092abcd415 (patch)
tree3c9fa4379fb7dad80391cd8afd2ec4c5d9e811ab /clang/tools/libclang/IndexingContext.h
parent5767f0f1131564cfac89abda0d3d9135e2b7e031 (diff)
downloadbcm5719-llvm-da6e05476d848422e9505a22921466092abcd415.tar.gz
bcm5719-llvm-da6e05476d848422e9505a22921466092abcd415.zip
[libclang] Make sure Preprocessor is set in ASTUnit during indexing.
llvm-svn: 148319
Diffstat (limited to 'clang/tools/libclang/IndexingContext.h')
-rw-r--r--clang/tools/libclang/IndexingContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/libclang/IndexingContext.h b/clang/tools/libclang/IndexingContext.h
index 26b8ecb75d0..bc33005e89d 100644
--- a/clang/tools/libclang/IndexingContext.h
+++ b/clang/tools/libclang/IndexingContext.h
@@ -319,6 +319,7 @@ public:
ASTContext &getASTContext() const { return *Ctx; }
void setASTContext(ASTContext &ctx);
+ void setPreprocessor(Preprocessor &PP);
bool suppressRefs() const {
return IndexOptions & CXIndexOpt_SuppressRedundantRefs;
OpenPOWER on IntegriCloud