From ae6de57e6c823471f04a15dbfbbb39449d4d1e56 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 11 Jun 2010 19:50:37 +0000 Subject: [PATCH] preprocessor directives in macro arguments aren't standard, hopefully this unbreaks msvc git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105826 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/RecursiveASTVisitor.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/clang/AST/RecursiveASTVisitor.h b/include/clang/AST/RecursiveASTVisitor.h index 3a11304d57..ece2f2d250 100644 --- a/include/clang/AST/RecursiveASTVisitor.h +++ b/include/clang/AST/RecursiveASTVisitor.h @@ -1165,15 +1165,15 @@ DEF_TRAVERSE_STMT(CXXStaticCastExpr, { }) DEF_TRAVERSE_STMT(InitListExpr, { - // FIXME: I think this is the right thing to do... +}) + // FIXME: I think this is the right thing to do... #if 0 - // We want the syntactic initializer list, not semantic. - if (InitListExpr *Syn=S->getSyntacticList()) - S = Syn; + // We want the syntactic initializer list, not semantic. + if (InitListExpr *Syn=S->getSyntacticList()) + S = Syn; // Now the default actions will work on the syntactic list. #endif -}) - + // These exprs (most of them), do not need any action except iterating // over the children. DEF_TRAVERSE_STMT(AddrLabelExpr, { }) -- 2.49.0