arphaman added a comment. Ah I see,
then you should something completely different (forget the header). Please extract this code into a protected function in RecursiveASTVisitor: for (Stmt *SubStmt : Children) if (!TRAVERSE_STMT_BASE(Stmt, Stmt, SubStmt, Queue)) return false; And reuse it in this class. Then you won't have to use any macros or related template magic here. https://reviews.llvm.org/D37200 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits