]> granicus.if.org Git - clang/commit
[Index] Add setPreprocessor member to IndexDataConsumer.
authorEric Liu <ioeric@google.com>
Thu, 7 Dec 2017 11:04:24 +0000 (11:04 +0000)
committerEric Liu <ioeric@google.com>
Thu, 7 Dec 2017 11:04:24 +0000 (11:04 +0000)
commitcbe186c3f129d6fc6f989cec1c9960d6b3d0b914
tree830608ed1e97b1bc3390f1ed39e4c555427fe962
parent58744ab311fae8a49ce39322ff72d37cb140c6bd
[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
include/clang/Index/IndexDataConsumer.h
lib/Index/IndexingAction.cpp
tools/libclang/CXIndexDataConsumer.h