aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/DeclBase.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-17 18:05:57 +0000
committerChris Lattner <sabre@nondot.org>2008-06-17 18:05:57 +0000
commit4111024be81e7c0525e42dadcc126d27e5bf2425 (patch)
treee29124f0d892b86e0c4a155f0366c82117dbedaa /lib/AST/DeclBase.cpp
parente5d12e8003acab516a58a01f71aae012458a4572 (diff)
Change self/_cmd to be instances of ImplicitParamDecl instead of ParmVarDecl.
Patch by David Chisnall! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r--lib/AST/DeclBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp
index 296304a66d..89c61aea6a 100644
--- a/lib/AST/DeclBase.cpp
+++ b/lib/AST/DeclBase.cpp
@@ -206,6 +206,7 @@ void Decl::addDeclKind(Kind k) {
case ObjCPropertyImpl: nObjCPropertyImplDecl++; break;
case LinkageSpec: nLinkageSpecDecl++; break;
case FileScopeAsm: nFileScopeAsmDecl++; break;
+ case ImplicitParam:
case TranslationUnit: break;
// FIXME: Statistics for C++ decls.