[PATCH] D62375: [ASTImporter] Mark erroneous nodes in from ctx
Aleksei Sidorin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 30 01:16:07 PDT 2019
a_sidorin added a comment.
Hello Gabor,
Thank you for the explanation. I got the idea of this patch anyway, but it will be definitely useful for anyone digging into the code. Should we make it a comment for ImportPathTy?
================
Comment at: clang/lib/AST/ASTImporter.cpp:8682
+
+void ASTImporter::ImportPathTy::push(Decl *D) {
+ Nodes.push_back(D);
----------------
I think these definitions are small enough to move them into the class definitions.
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