[PATCH] D64554: [CrossTU] Add a function to retrieve original source location.

Balázs Kéri via Phabricator via llvm-commits llvm-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`.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64554





More information about the llvm-commits mailing list