diff options
Diffstat (limited to 'clang/lib/AST/Stmt.cpp')
| -rw-r--r-- | clang/lib/AST/Stmt.cpp | 7 |
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; |

