[PATCH] D46940: [ASTImporter] make sure that ACtx::getParents still works

Aleksei Sidorin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 18 08:35:15 PDT 2018


a.sidorin accepted this revision.
a.sidorin added a comment.

LGTM. Aaron, could you please confirm that AST changes are fine?



================
Comment at: include/clang/AST/ASTContext.h:638
+    ReleaseParentMapEntries();
+    PointerParents = nullptr;
+  }
----------------
I'd prefer to call reset(), but I won't insist on it.


https://reviews.llvm.org/D46940





More information about the cfe-commits mailing list