[PATCH] D65935: [ASTImporter] Import ctor initializers after setting flags.

Aleksei Sidorin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 22:07:13 PDT 2019


a_sidorin added inline comments.


================
Comment at: clang/lib/AST/ASTImporter.cpp:3293
 
+  // Import Ctor initializers.
+  if (auto *FromConstructor = dyn_cast<CXXConstructorDecl>(D)) {
----------------
I suggest to move it closer to the function body import because import of ctor initializers is a part of function body import in fact.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65935





More information about the cfe-commits mailing list