aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-11-14 12:46:07 +0000
committerDouglas Gregor <dgregor@apple.com>2008-11-14 12:46:07 +0000
commitf2cad8633e46cce12fc3d77c0bd451ffd7264baf (patch)
tree2c51aac4a673b86d4cdc6cd9bdbdef2bedc4b0af /lib/AST/StmtPrinter.cpp
parent37d682ac042d232d377a5f7bc6266149c82584a4 (diff)
Don't require us to manually number the statements and expressions in StmtNodes.def. We don't need stable numbers yet, renumbering is a pain, and LAST_STMT had the wrong value anyway.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/StmtPrinter.cpp')
-rw-r--r--lib/AST/StmtPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/StmtPrinter.cpp b/lib/AST/StmtPrinter.cpp
index 7529eec984..bbd53d0d49 100644
--- a/lib/AST/StmtPrinter.cpp
+++ b/lib/AST/StmtPrinter.cpp
@@ -76,7 +76,7 @@ namespace {
}
void VisitStmt(Stmt *Node);
-#define STMT(N, CLASS, PARENT) \
+#define STMT(CLASS, PARENT) \
void Visit##CLASS(CLASS *Node);
#include "clang/AST/StmtNodes.def"
};