[PATCH] D13249: Divide TraverseInitListExpr to a different function for each form.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 29 10:22:03 PDT 2015


klimek added inline comments.

================
Comment at: include/clang/AST/RecursiveASTVisitor.h:2097
@@ +2096,3 @@
+template <typename Derived>
+bool RecursiveASTVisitor<Derived>::TraverseInitListExpr(InitListExpr *S) {
+  TRY_TO(TraverseSyntacticInitListExpr(S));
----------------
Did you try putting an assert(S->isSemanticForm()); (or the reverse) here?


http://reviews.llvm.org/D13249





More information about the cfe-commits mailing list