rsmith added a comment.

Looks fine as far as it goes, but we're going to need to change all the places 
that skip past ExprWithCleanups to also step over this node. Since both nodes 
represent the boundary of a particular kind of full-expression, it'd make sense 
to me for them to at least have a common base class for such "skipping" 
purposes.



================
Comment at: lib/AST/StmtProfile.cpp:1001
+  VisitExpr(S);
+  VisitExpr(S->getSubExpr());
+}
----------------
This is unnecessary: this visitor visits the children of the node for you.


Repository:
  rC Clang

https://reviews.llvm.org/D53475



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

Reply via email to