diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-05-30 17:33:54 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-05-30 17:33:54 +0000 |
commit | 59a9881ab252c80735d6440bd9ca0fbac252e6a8 (patch) | |
tree | f0f4b1c64f5fd28c414d232e102515827179bf1c /lib/Sema/SemaExprObjC.cpp | |
parent | 5d51e8894624d5a12ed2c4fd80c31112d3d70f80 (diff) |
objective-c: revert r157407. It broke a project
and reported as PR12959. // rdar://11499742
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprObjC.cpp')
-rw-r--r-- | lib/Sema/SemaExprObjC.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Sema/SemaExprObjC.cpp b/lib/Sema/SemaExprObjC.cpp index 9ce0fafe3c..c1f7aae0a2 100644 --- a/lib/Sema/SemaExprObjC.cpp +++ b/lib/Sema/SemaExprObjC.cpp @@ -1483,10 +1483,6 @@ HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, SelectorTable::constructSetterName(PP.getIdentifierTable(), PP.getSelectorTable(), Member); ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel); - if (Setter && Setter->isSynthesized()) - // Check for corner case of: @property int p; ... self.P = 0; - // setter name is synthesized "setP" but there is no property name 'P'. - Setter = 0; // May be founf in property's qualified list. if (!Setter) |