aboutsummaryrefslogtreecommitdiff
path: root/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-23 21:21:33 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-23 21:21:33 +0000
commitb1094a0621c3bf91141f7cd9684ca80b357ae61e (patch)
treede83abdb06cf4b4b7d3b65b31bfa8ca6d1357569 /lib/ARCMigrate/TransRetainReleaseDealloc.cpp
parent7707c75ff98e26aa939557e3bf80490556c00ae4 (diff)
[arcmt] Fully migrate ObjC++ classes, rdar://9660007.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133763 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate/TransRetainReleaseDealloc.cpp')
-rw-r--r--lib/ARCMigrate/TransRetainReleaseDealloc.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ARCMigrate/TransRetainReleaseDealloc.cpp b/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
index f03ab5a6f4..c177363b18 100644
--- a/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
+++ b/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;