[PATCH] D64554: [CrossTU] Add a function to retrieve original source location.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 18 09:20:24 PDT 2019
balazske added a comment.
Commit was reverted because we were not aware of that clangAST library can not use clangFrontend library. So a different solution is needed, probably pass a SourceLocation import callback to ASTImporter. (A `Preprocessor` that can be used in place of `ASTUnit` here can not be get from a `SourceManager` or `ASTContext`.) And then no `ImportedFileIDs` is needed in `ASTImporterSharedState`, instead in `CrossTranslationUnitContext`.
CHANGES SINCE LAST ACTION
More information about the cfe-commits