diff options
Diffstat (limited to 'include/clang/AST/StmtVisitor.h')
-rw-r--r-- | include/clang/AST/StmtVisitor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/StmtVisitor.h b/include/clang/AST/StmtVisitor.h index 22b467ea73..4217de32ac 100644 --- a/include/clang/AST/StmtVisitor.h +++ b/include/clang/AST/StmtVisitor.h @@ -101,7 +101,7 @@ public: // Top switch stmt: dispatch to VisitFooStmt for each FooStmt. switch (S->getStmtClass()) { default: assert(0 && "Unknown stmt kind!"); -#define STMT(N, CLASS, PARENT) \ +#define STMT(CLASS, PARENT) \ case Stmt::CLASS ## Class: DISPATCH(CLASS, CLASS); #include "clang/AST/StmtNodes.def" } @@ -109,7 +109,7 @@ public: // If the implementation chooses not to implement a certain visit method, fall // back on VisitExpr or whatever else is the superclass. -#define STMT(N, CLASS, PARENT) \ +#define STMT(CLASS, PARENT) \ RetTy Visit ## CLASS(CLASS *S) { DISPATCH(PARENT, PARENT); } #include "clang/AST/StmtNodes.def" |