r.stahl added inline comments.

================
Comment at: lib/AST/ASTImporter.cpp:6755
+  auto ToE = cast_or_null<Expr>(Import(cast<Stmt>(FromE)));
+  if (ToE)
+    ToContext.invalidateParents();
----------------
a.sidorin wrote:
> We already do the invalidation in Import(Stmt), so it looks redundant here.
Yes, sorry this should actually be in Import(Decl) as I wrote in the 
description!


Repository:
  rC Clang

https://reviews.llvm.org/D46940



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to