This revision was automatically updated to reflect the committed changes.
Closed by commit rC320030: [Index] Add setPreprocessor member to
IndexDataConsumer. (authored by ioeric).
Changed prior to commit:
https://reviews.llvm.org/D40884?vs=125913&id=125920#toc
Repository:
rC Clang
https://r
This revision was automatically updated to reflect the committed changes.
Closed by commit rL320030: [Index] Add setPreprocessor member to
IndexDataConsumer. (authored by ioeric).
Repository:
rL LLVM
https://reviews.llvm.org/D40884
Files:
cfe/trunk/include/clang/Index/IndexDataConsumer.h
ioeric updated this revision to Diff 125913.
ioeric marked an inline comment as done.
ioeric added a comment.
- Removed a redundant #include
Repository:
rC Clang
https://reviews.llvm.org/D40884
Files:
include/clang/Index/IndexDataConsumer.h
lib/Index/IndexingAction.cpp
tools/libclang/C
malaperle added a comment.
In https://reviews.llvm.org/D40884#946630, @ioeric wrote:
> In https://reviews.llvm.org/D40884#946506, @malaperle wrote:
>
> > You can get the preprocessor from the ASTContext, no?
>
>
> I don't think `ASTContext` contains preprocessor information.
My bad, it was the
ioeric added a comment.
In https://reviews.llvm.org/D40884#946506, @malaperle wrote:
> You can get the preprocessor from the ASTContext, no?
I don't think `ASTContext` contains preprocessor information.
Repository:
rC Clang
https://reviews.llvm.org/D40884
___
malaperle added a comment.
You can get the preprocessor from the ASTContext, no?
Repository:
rC Clang
https://reviews.llvm.org/D40884
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.
LGTM.
Comment at: include/clang/Index/IndexingAction.h:14
#include "clang/Basic/LLVM.h"
+#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/ArrayRef.h"
ioeric created this revision.
This enables us to use information in Preprocessor when handling symbol
occurrences.
Repository:
rC Clang
https://reviews.llvm.org/D40884
Files:
include/clang/Index/IndexDataConsumer.h
include/clang/Index/IndexingAction.h
lib/Index/IndexingAction.cpp
too