[PATCH] D62375: [ASTImporter] Mark erroneous nodes in from ctx

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 24 10:19:55 PDT 2019


martong marked an inline comment as done.
martong added inline comments.


================
Comment at: clang/lib/AST/ASTImporter.cpp:7892
 
-    // Error encountered for the first time.
-    assert(!getImportDeclErrorIfAny(FromD) &&
----------------
We may set up an error multiple times now, but the error should be the same, this is handled in `setImportDeclError`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62375





More information about the cfe-commits mailing list