property accessor's missing backing ivar. This eliminates
the bogus warning being issued. // rdar://
15728901
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198322
91177308-0d34-0410-b5e6-
96231b3b80d8
ObjCIvarDecl *
Sema::GetIvarBackingPropertyAccessor(const ObjCMethodDecl *Method,
const ObjCPropertyDecl *&PDecl) const {
-
+ if (Method->isClassMethod())
+ return 0;
const ObjCInterfaceDecl *IDecl = Method->getClassInterface();
if (!IDecl)
return 0;
}
@end
+// rdar://15728901
+@interface GATTOperation : NSObject {
+ long operation;
+}
+@property(assign) long operation;
+@end
+
+@implementation GATTOperation
+@synthesize operation;
++ (id) operation {
+ return 0;
+}
+@end