diff options
author | Chris Lattner <sabre@nondot.org> | 2008-06-17 18:05:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-06-17 18:05:57 +0000 |
commit | 5696e7badf181efd93355bd55718f422252362b0 (patch) | |
tree | 9562bea195fea80d837014b9707e87a8fab94013 /clang/lib/AST/DeclBase.cpp | |
parent | 5e4188f1acd814dff1f2155c05576f8892223c40 (diff) | |
download | bcm5719-llvm-5696e7badf181efd93355bd55718f422252362b0.tar.gz bcm5719-llvm-5696e7badf181efd93355bd55718f422252362b0.zip |
Change self/_cmd to be instances of ImplicitParamDecl instead of ParmVarDecl.
Patch by David Chisnall!
llvm-svn: 52422
Diffstat (limited to 'clang/lib/AST/DeclBase.cpp')
-rw-r--r-- | clang/lib/AST/DeclBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/DeclBase.cpp b/clang/lib/AST/DeclBase.cpp index 296304a66dd..89c61aea6a0 100644 --- a/clang/lib/AST/DeclBase.cpp +++ b/clang/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. |