diff options
author | Eric Liu <ioeric@google.com> | 2017-12-07 11:04:24 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2017-12-07 11:04:24 +0000 |
commit | cbe186c3f129d6fc6f989cec1c9960d6b3d0b914 (patch) | |
tree | 830608ed1e97b1bc3390f1ed39e4c555427fe962 /tools | |
parent | 58744ab311fae8a49ce39322ff72d37cb140c6bd (diff) |
[Index] Add setPreprocessor member to IndexDataConsumer.
Summary:
This enables us to use information in Preprocessor when handling symbol
occurrences.
Reviewers: arphaman, hokein
Reviewed By: hokein
Subscribers: malaperle, cfe-commits
Differential Revision: https://reviews.llvm.org/D40884
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libclang/CXIndexDataConsumer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/CXIndexDataConsumer.h b/tools/libclang/CXIndexDataConsumer.h index 16162cb83f..a54baadd07 100644 --- a/tools/libclang/CXIndexDataConsumer.h +++ b/tools/libclang/CXIndexDataConsumer.h @@ -342,7 +342,7 @@ public: CXTranslationUnit getCXTU() const { return CXTU; } void setASTContext(ASTContext &ctx); - void setPreprocessor(std::shared_ptr<Preprocessor> PP); + void setPreprocessor(std::shared_ptr<Preprocessor> PP) override; bool shouldSuppressRefs() const { return IndexOptions & CXIndexOpt_SuppressRedundantRefs; |