r185884 - ObjC migration: more test for migration to
Fariborz Jahanian
fjahanian at apple.com
Mon Jul 8 16:29:52 PDT 2013
Author: fjahanian
Date: Mon Jul 8 18:29:51 2013
New Revision: 185884
URL: http://llvm.org/viewvc/llvm-project?rev=185884&view=rev
Log:
ObjC migration: more test for migration to
properties.
Modified:
cfe/trunk/test/ARCMT/objcmt-property.m
cfe/trunk/test/ARCMT/objcmt-property.m.result
Modified: cfe/trunk/test/ARCMT/objcmt-property.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ARCMT/objcmt-property.m?rev=185884&r1=185883&r2=185884&view=diff
==============================================================================
--- cfe/trunk/test/ARCMT/objcmt-property.m (original)
+++ cfe/trunk/test/ARCMT/objcmt-property.m Mon Jul 8 18:29:51 2013
@@ -28,3 +28,22 @@
@implementation I
@end
+
+ at class NSArray;
+
+ at interface MyClass2 {
+ at 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;
+ at end
Modified: cfe/trunk/test/ARCMT/objcmt-property.m.result
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ARCMT/objcmt-property.m.result?rev=185884&r1=185883&r2=185884&view=diff
==============================================================================
--- cfe/trunk/test/ARCMT/objcmt-property.m.result (original)
+++ cfe/trunk/test/ARCMT/objcmt-property.m.result Mon Jul 8 18:29:51 2013
@@ -28,3 +28,22 @@
@implementation I
@end
+
+ at class NSArray;
+
+ at interface MyClass2 {
+ at private
+ NSArray *_names1;
+ NSArray *_names2;
+ NSArray *_names3;
+ NSArray *_names4;
+}
+
+
+
+
+ at property(strong) NSArray * names2;
+ at property(strong) NSArray * names3;
+ at property(strong) NSArray *__strong names4;
+ at property(strong) NSArray * names1;
+ at end
More information about the cfe-commits
mailing list