summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Stmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/Stmt.cpp')
-rw-r--r--clang/lib/AST/Stmt.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/lib/AST/Stmt.cpp b/clang/lib/AST/Stmt.cpp
index 8347249a466..bb6db228d21 100644
--- a/clang/lib/AST/Stmt.cpp
+++ b/clang/lib/AST/Stmt.cpp
@@ -22,6 +22,13 @@
#include <cstdio>
using namespace clang;
+#ifndef NDEBUG
+llvm::Statistic clang::objc_stmt_checks =
+ { "clang", "Number of checks for Objective-C statement nodes", 0, 0 };
+llvm::Statistic clang::cxx_stmt_checks =
+ { "clang", "Number of checks for C++ statement nodes", 0, 0 };
+#endif
+
static struct StmtClassNameTable {
const char *Name;
unsigned Counter;
OpenPOWER on IntegriCloud