]> granicus.if.org Git - clang/commitdiff
ObjC migration: more test for migration to
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 8 Jul 2013 23:29:51 +0000 (23:29 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 8 Jul 2013 23:29:51 +0000 (23:29 +0000)
properties.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185884 91177308-0d34-0410-b5e6-96231b3b80d8

test/ARCMT/objcmt-property.m
test/ARCMT/objcmt-property.m.result

index d13a491a89a0b3f261e76498b0ec7369ba6c5c81..b264658471a0b675703d469fe4cd7293c49eb84a 100644 (file)
 
 @implementation I
 @end
+
+@class NSArray;
+
+@interface MyClass2  {
+@private
+    NSArray *_names1;
+    NSArray *_names2;
+    NSArray *_names3;
+    NSArray *_names4;
+}
+- (void)setNames1:(NSArray *)names;
+- (void)setNames4:(__strong NSArray *)names;
+- (void)setNames3:(__strong NSArray *)names;
+- (void)setNames2:(NSArray *)names;
+- (NSArray *) names2;
+- (NSArray *)names3;
+- (__strong NSArray *)names4;
+- (NSArray *) names1;
+@end
index 771d8634bf381ed08b07bfdab173baf4ccd997cd..f9d1986484d1c06906160cbe4dfe99b09409e97b 100644 (file)
 
 @implementation I
 @end
+
+@class NSArray;
+
+@interface MyClass2  {
+@private
+    NSArray *_names1;
+    NSArray *_names2;
+    NSArray *_names3;
+    NSArray *_names4;
+}
+
+
+
+
+@property(strong) NSArray * names2;
+@property(strong) NSArray * names3;
+@property(strong) NSArray *__strong names4;
+@property(strong) NSArray * names1;
+@end