diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-11 19:50:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-11 19:50:37 +0000 |
commit | ae6de57e6c823471f04a15dbfbbb39449d4d1e56 (patch) | |
tree | 2b0899eec5bc33e8f99fcf36bc5eee8c15613d6c | |
parent | 40498cdfe09f6dfa939ca98cb9507aebaae3436f (diff) |
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
-rw-r--r-- | include/clang/AST/RecursiveASTVisitor.h | 12 |
1 files 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, { }) |