diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2015-03-23 20:52:26 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2015-03-23 20:52:26 +0000 |
commit | a29ca8496f7e095c896833590ebfe620415827e1 (patch) | |
tree | c1d6baf3eb4cbca682780cea1498cda483a2942f /lib/ARCMigrate | |
parent | e50abfac18efa2226d59c6e93f7c344fa8957868 (diff) |
[SDK modernizer PATCH]. Fixes a bug whereby a call to super
was not converted to property-dot syntax by removing an unused
code. rdar://19140267
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate')
-rw-r--r-- | lib/ARCMigrate/ObjCMT.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ARCMigrate/ObjCMT.cpp b/lib/ARCMigrate/ObjCMT.cpp index 98b3955182..38ff72a576 100644 --- a/lib/ARCMigrate/ObjCMT.cpp +++ b/lib/ARCMigrate/ObjCMT.cpp @@ -255,11 +255,6 @@ namespace { if (!Method->isPropertyAccessor()) return false; - const ObjCInterfaceDecl *IFace = - NS.getASTContext().getObjContainingInterface(Method); - if (!IFace) - return false; - const ObjCPropertyDecl *Prop = Method->findPropertyDecl(); if (!Prop) return false; |