diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-31 18:21:31 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-31 18:21:31 +0000 |
commit | db2eb5abf4c082d1f0c5c45e39d8cd0300f81e38 (patch) | |
tree | 789728ff661fc70b85ae7447b2c223dc229d2b1b /lib/AST | |
parent | 2405a0addc2bc627392d9bfe2874bd9431d81d55 (diff) |
Remove the AST statistics tracking I added yesterday; it didn't pan out.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST')
-rw-r--r-- | lib/AST/DeclBase.cpp | 7 | ||||
-rw-r--r-- | lib/AST/Expr.cpp | 7 | ||||
-rw-r--r-- | lib/AST/Stmt.cpp | 7 | ||||
-rw-r--r-- | lib/AST/Type.cpp | 7 |
4 files changed, 0 insertions, 28 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 522875f64f..c693e153dd 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -35,13 +35,6 @@ using namespace clang; // Statistics //===----------------------------------------------------------------------===// -#ifndef NDEBUG -llvm::Statistic clang::objc_decl_checks = - { "clang", "Number of checks for Objective-C declaration nodes", 0, 0 }; -llvm::Statistic clang::cxx_decl_checks = - { "clang", "Number of checks for C++ declaration nodes", 0, 0 }; -#endif - #define DECL(Derived, Base) static int n##Derived##s = 0; #include "clang/AST/DeclNodes.def" diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index 4cb7712e52..6764612c80 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -27,13 +27,6 @@ #include <algorithm> using namespace clang; -#ifndef NDEBUG -llvm::Statistic clang::objc_expr_checks = - { "clang", "Number of checks for Objective-C expression nodes", 0, 0 }; -llvm::Statistic clang::cxx_expr_checks = - { "clang", "Number of checks for C++ expression nodes", 0, 0 }; -#endif - //===----------------------------------------------------------------------===// // Primary Expressions. //===----------------------------------------------------------------------===// diff --git a/lib/AST/Stmt.cpp b/lib/AST/Stmt.cpp index bb6db228d2..8347249a46 100644 --- a/lib/AST/Stmt.cpp +++ b/lib/AST/Stmt.cpp @@ -22,13 +22,6 @@ #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; diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index a18cd0fbca..d50e1d1480 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -22,13 +22,6 @@ #include "llvm/Support/raw_ostream.h" using namespace clang; -#ifndef NDEBUG -llvm::Statistic clang::objc_type_checks = - { "clang", "Number of checks for Objective-C type nodes", 0, 0 }; -llvm::Statistic clang::cxx_type_checks = - { "clang", "Number of checks for C++ type nodes", 0, 0 }; -#endif - bool QualType::isConstant(QualType T, ASTContext &Ctx) { if (T.isConstQualified()) return true; |