[PATCH] D47946: [ASTImporter] Fix infinite recursion on function import with struct definition in parameters

Zoltán Gera via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 11 07:06:34 PDT 2018


gerazo marked 2 inline comments as done.
gerazo added inline comments.


================
Comment at: unittests/AST/ASTImporterTest.cpp:234
+    assert(ToAST);
+    createVirtualFileIfNeeded(ToAST.get(), It->FileName, It->Code);
+    return &*It;
----------------
a.sidorin wrote:
> Can we move the side effect into import()?
Sure, thank you.


https://reviews.llvm.org/D47946





More information about the cfe-commits mailing list