[PATCH] D64638: [CrossTU] Fix plist macro expansion if macro in other file.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 23 07:16:42 PDT 2019


balazske added a comment.

It is possible to use the `Preprocessor` instead of `ASTUnit` in `getImportedFromSourceLocation`. But this will contain less useful (even if currently not used) information. The test extension in D65064 <https://reviews.llvm.org/D65064> is not possible to do if not `ASTUnit` is used. (Or a tuple must be used that contains `Preprocessor` and `TranslationUnitDecl` and maybe other objects that are stored in the `ASTUnit`.)


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64638/new/

https://reviews.llvm.org/D64638





More information about the cfe-commits mailing list