[PATCH] D40884: [Index] Add setPreprocessor member to IndexDataConsumer.

Marc-Andre Laperle via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 6 08:07:13 PST 2017


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 SourceManager I had in mind. Ignore me!


Repository:
  rC Clang

https://reviews.llvm.org/D40884





More information about the cfe-commits mailing list