[arcmt] Fully migrate ObjC++ classes, rdar://9660007.
llvm-svn: 133763
diff --git a/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp b/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
index f03ab5a..c177363 100644
--- a/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
+++ b/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
@@ -31,7 +31,6 @@
class RetainReleaseDeallocRemover :
public RecursiveASTVisitor<RetainReleaseDeallocRemover> {
- Decl *Dcl;
Stmt *Body;
MigrationPass &Pass;
@@ -39,8 +38,8 @@
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;