summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/AST/DeclTemplate.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/AST/DeclTemplate.h')
-rw-r--r--clang/include/clang/AST/DeclTemplate.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/include/clang/AST/DeclTemplate.h b/clang/include/clang/AST/DeclTemplate.h
index 8d1a4caccb2..dee0a8614c4 100644
--- a/clang/include/clang/AST/DeclTemplate.h
+++ b/clang/include/clang/AST/DeclTemplate.h
@@ -1314,4 +1314,17 @@ inline AnyFunctionDecl::AnyFunctionDecl(FunctionTemplateDecl *FTD)
} /* end of namespace clang */
+// Enumerate C++ declarations
+CLANG_ISA_STATISTIC(UnresolvedUsingTypenameDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(ClassTemplateSpecializationDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(ClassTemplatePartialSpecializationDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(TemplateTypeParmDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(UnresolvedUsingValueDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(NonTypeTemplateParmDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(TemplateDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(FunctionTemplateDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(ClassTemplateDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(TemplateTemplateParmDecl, cxx_decl_checks)
+CLANG_ISA_STATISTIC(FriendTemplateDecl, cxx_decl_checks)
+
#endif
OpenPOWER on IntegriCloud