[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 02:28:58 PDT 2019


balazske marked 4 inline comments as done.
balazske added inline comments.


================
Comment at: include/clang/AST/ASTImporter.h:288
+                ASTContext &FromContext, FileManager &FromFileManager,
+                ASTUnit *FromUnit, bool MinimalImport,
+                std::shared_ptr<ASTImporterSharedState> SharedState);
----------------
martong wrote:
> Why do we still need `FromUnit` in this ctor? I thought the other ctor would handle that case.
This is a private and common constructor that can handle both cases (called by the others).


Repository:
  rC Clang

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

https://reviews.llvm.org/D64554





More information about the cfe-commits mailing list