diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-06-23 21:21:33 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-06-23 21:21:33 +0000 |
commit | 0b2bd862fffce979220855e6633ff5718793008d (patch) | |
tree | dc7f88fa7c5b40e8d956daa4a4eaa650e883459a /clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp | |
parent | 795550691e4583450ea1f91432c76294b15b4f74 (diff) | |
download | bcm5719-llvm-0b2bd862fffce979220855e6633ff5718793008d.tar.gz bcm5719-llvm-0b2bd862fffce979220855e6633ff5718793008d.zip |
[arcmt] Fully migrate ObjC++ classes, rdar://9660007.
llvm-svn: 133763
Diffstat (limited to 'clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp')
-rw-r--r-- | clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp b/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp index f03ab5a6f4b..c177363b18e 100644 --- a/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp +++ b/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp @@ -31,7 +31,6 @@ namespace { class RetainReleaseDeallocRemover : public RecursiveASTVisitor<RetainReleaseDeallocRemover> { - Decl *Dcl; Stmt *Body; MigrationPass &Pass; @@ -39,8 +38,8 @@ class RetainReleaseDeallocRemover : llvm::OwningPtr<ParentMap> StmtMap; public: - RetainReleaseDeallocRemover(Decl *D, MigrationPass &pass) - : Dcl(D), Body(0), Pass(pass) { } + RetainReleaseDeallocRemover(MigrationPass &pass) + : Body(0), Pass(pass) { } void transformBody(Stmt *body) { Body = body; |