| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | objcmt-property.m.result | 26 @property (nonatomic, strong) NSString *StrongProp; 33 @property (nonatomic, strong) NSString *UnavailProp2; 51 @property (nonatomic, strong) NSArray *names2; 52 @property (nonatomic, strong) NSArray *names3; 53 @property (nonatomic, strong) NSArray *names4; 54 @property (nonatomic, strong) NSArray *names1; 70 @property (nonatomic, strong) id MYtarget; 72 @property (nonatomic, strong) id targetX; 86 @property (nonatomic, readonly, strong) id object; 114 @property (nonatomic, strong) id MYtarget; [all …]
|
| H A D | objcmt-atomic-property.m.result | 26 @property (strong) NSString *StrongProp; 51 @property (strong) NSArray *names2; 52 @property (strong) NSArray *names3; 53 @property (strong) NSArray *names4; 54 @property (strong) NSArray *names1; 67 @property (strong) id MYtarget; 69 @property (strong) id targetX; 83 @property (readonly, strong) id object; 111 @property (strong) id MYtarget; 113 @property (strong) id targetX; [all …]
|
| H A D | objcmt-ns-nonatomic-iosonly.m.result | 33 @property (NS_NONATOMIC_IOSONLY, strong) NSString *StrongProp; 40 @property (NS_NONATOMIC_IOSONLY, strong) NSString *UnavailProp2; 58 @property (NS_NONATOMIC_IOSONLY, strong) NSArray *names2; 59 @property (NS_NONATOMIC_IOSONLY, strong) NSArray *names3; 60 @property (NS_NONATOMIC_IOSONLY, strong) NSArray *names4; 61 @property (NS_NONATOMIC_IOSONLY, strong) NSArray *names1; 74 @property (NS_NONATOMIC_IOSONLY, strong) id MYtarget; 76 @property (NS_NONATOMIC_IOSONLY, strong) id targetX; 90 @property (NS_NONATOMIC_IOSONLY, readonly, strong) id object; 118 @property (NS_NONATOMIC_IOSONLY, strong) id MYtarget; [all …]
|
| H A D | remove-dealloc-zerouts.m.result | 6 @property (strong) id x; 7 @property (strong) id y; 8 @property (strong) id w; 9 @property (strong) id z; 10 @property (strong) id q; 26 @property (strong) Foo *a;
|
| H A D | GC.m.result | 26 @property (strong) id prop; 47 @property (strong) I3 * ps; 58 @property (strong) I4Impl * ps; 59 @property (strong) I4Impl * pds; 60 @property (strong) I4Impl * pds2; 77 @property (strong) id assign_prop; 78 @property (strong, readonly) id strong_readonly_prop;
|
| H A D | GC-no-finalize-removal.m.result | 32 @property (strong) id prop; 60 @property (strong) I3 * ps; 71 @property (strong) I4Impl * ps; 72 @property (strong) I4Impl * pds; 73 @property (strong) I4Impl * pds2; 90 @property (strong) id assign_prop; 91 @property (strong, readonly) id strong_readonly_prop;
|
| H A D | assign-prop-with-arc-runtime.m.result | 40 @property (strong) id def1; 41 @property (atomic,strong) id def2; 42 @property (strong,atomic) id def3; 60 @property (strong,readonly) TestExt *x1; 65 @property (strong,readwrite) TestExt *x1; 67 @property (strong) TestExt *x3;
|
| H A D | remove-dealloc-method.m.result | 8 @property (strong) id x; 9 @property (strong) id y; 10 @property (strong) id w; 11 @property (strong) id z;
|
| H A D | GC-no-arc-runtime.m.result | 26 @property (strong) id prop; 47 @property (strong) I3 * ps; 55 @property (strong) I4Impl * ps; 56 @property (strong) I4Impl * pds; 57 @property (strong) I4Impl * pds2;
|
| H A D | objcmt-property-availability.m.result | 22 @property (nonatomic, strong) MKMapItem *source NS_AVAILABLE(10_9, 6_0); 25 @property (nonatomic, strong) MKMapItem *dest NS_AVAILABLE(10_9, 6_0); 27 @property (nonatomic, strong) MKMapItem *final; 29 @property (nonatomic, strong) MKMapItem *total NS_AVAILABLE(10_9, 6_0); 35 @property (nonatomic, strong) MKMapItem *tally UNAVAILABLE NS_AVAILABLE(10_9, 6_0);
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | property-10.m | 8 @property(retain) int p1; // expected-error {{property with 'retain (or strong)' attribute must be … 9 @property(strong) int s1; // expected-error {{property with 'retain (or strong)' attribute must be … 15 @property(assign, strong) id s3_1; // expected-error {{property attributes 'assign' and 'strong' ar… 17 @property(copy, strong) id s3_2; // expected-error {{property attributes 'copy' and 'strong' are mu… 19 …strong) id s3_3; // expected-error {{property attributes 'assign' and 'copy' are mutually exclusiv… 23 @property(unsafe_unretained, strong) id s4_1; // expected-error {{property attributes 'unsafe_unret… 25 …strong) id s4_3; // expected-error {{property attributes 'unsafe_unretained' and 'copy' are mutual… 35 @property (retain) int PROP; // expected-error {{property with 'retain (or strong)' attribute must … 36 @property (strong) int SPROP; // expected-error {{property with 'retain (or strong)' attribute must…
|
| H A D | arc-property-decl-attrs.m | 10 @property(strong) id x; 11 @property(strong) id y; 12 @property(strong) id z; 40 @property(strong) __unsafe_unretained id x; // expected-error {{strong property 'x' may not also be… 41 @property(strong) __weak id y; // expected-error {{strong property 'y' may not also be declared __w… 42 @property(strong) __autoreleasing id z; // expected-error {{strong property 'z' may not also be dec… 73 @property (readonly, strong) id frr; 94 // strong cases. 257 // Allow strong readwrite property and a readonly one. 260 @property(strong) NSObject *p; [all …]
|
| H A D | arc-property-lifetime.m | 7 …id __weak y; // expected-error {{existing instance variable 'y' for strong property 'y' may not be… 10 @property(strong) id x; // expected-note {{property declared here}} 11 @property(strong) id y; // expected-note {{property declared here}} 12 @property(strong) id z; 24 …id __weak y; // expected-error {{existing instance variable 'y' for strong property 'y' may not be… 41 …id __weak y; // expected-error {{existing instance variable 'y' for strong property 'y' may not be… 56 @property(strong) __unsafe_unretained id x; // expected-error {{strong property 'x' may not also be… 57 @property(strong) __autoreleasing id z; // expected-error {{strong property 'z' may not also be dec… 141 @property (strong) UILabel *label; 156 @property (strong) id strong_attr_prop; [all …]
|
| H A D | property-implement-readonly-with-custom-setter.m | 7 @property (nonatomic, strong, readonly) NSString *myString; 12 @property (nonatomic, strong, setter=setMYString:) NSString *myString; 15 @property (nonatomic, strong, readonly) NSString *overridenInClass; // expected-note {{property dec… 19 @property (nonatomic, strong, setter=setMYOverride:) NSString *overridenInClass;
|
| H A D | warn-retain-cycle.m | 36 @property (retain) void (^strong)(void); // expected-warning {{retain'ed block property does not co… 48 …x->owner.strong = ^{ (void) x; }; // expected-warning {{retain cycle}} expected-note {{block will … 49 …x.owner.strong = ^{ (void) x; }; // expected-warning {{retain cycle}} expected-note {{block will b… 50 x.owner2.strong = ^{ (void) x; }; 51 x.owner3.strong = ^{ (void) x; }; 64 self.owner2.strong = ^{ (void) owner; }; 67 self.owner3.strong = ^{ (void) owner; }; 69 …owner.strong = ^{ (void) owner; }; // expected-warning {{retain cycle}} expected-note {{block will… 73 …owner.strong = ^{ (void) sizeof(self); // expected-note {{block will be retained by an object stro… 76 weakowner.strong = ^{ (void) owner; }; [all …]
|
| H A D | arc-property.m | 5 …id __weak myString; // expected-error {{existing instance variable 'myString' for strong property … 7 …id __weak myString2; // expected-error {{existing instance variable 'myString2' for strong propert… 11 @property (strong) id myString; // expected-note {{property declared here}} 12 @property (strong) id myString1; 53 @property (strong) UndeclaredClass *test2; // expected-error {{unknown type name 'UndeclaredClass'… 61 @property (strong) id exception;
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | weak-reference.s | 50 # RUN: %lld -lSystem %t/test.o %t/strongref.o %t/libfoo.dylib -o %t/with-strong 52 # RUN: obj2yaml %t/with-strong | FileCheck %s --check-prefix=STRONG-YAML 53 # RUN: %lld -lSystem %t/strongref.o %t/test.o %t/libfoo.dylib -o %t/with-strong 55 # RUN: obj2yaml %t/with-strong | FileCheck %s --check-prefix=STRONG-YAML 56 # RUN: %lld -lSystem %t/libfoo.dylib %t/strongref.o %t/test.o -o %t/with-strong 58 # RUN: obj2yaml %t/with-strong | FileCheck %s --check-prefix=STRONG-YAML 59 # RUN: %lld -lSystem %t/libfoo.dylib %t/test.o %t/strongref.o -o %t/with-strong 61 # RUN: obj2yaml %t/with-strong | FileCheck %s --check-prefix=STRONG-YAML 62 # RUN: %lld -lSystem %t/test.o %t/libfoo.dylib %t/strongref.o -o %t/with-strong 64 # RUN: obj2yaml %t/with-strong | FileCheck %s --check-prefix=STRONG-YAML [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.spaceship/ |
| H A D | p2.cpp | 66 using strong = wrap<int>; typedef 84 template void f<std::strong_ordering, strong>(); 85 template void f<std::strong_ordering, strong, strong2>(); 88 template void f<std::weak_ordering, weak, strong>(); 89 template void f<std::weak_ordering, strong, weak>(); 93 template void f<std::partial_ordering, strong, partial>(); 95 template void f<std::partial_ordering, partial, strong>(); 96 template void f<std::partial_ordering, weak, partial, strong>(); 101 std::strong_ordering x = A<strong>() <=> A<strong>();
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/ |
| H A D | property-declaration.m | 15 @property(strong, nonatomic) NSString *URLString; 16 @property(strong, nonatomic) NSString *bundleID; 17 @property(strong, nonatomic) NSData *RGBABytes; 18 @property(strong, nonatomic) UIViewController *notificationsVC; 19 @property(strong, nonatomic) NSString *URL_string; 21 @property(strong, nonatomic) NSString *supportURLsCamelCase; 22 @property(strong, nonatomic) NSString *supportURLCamelCase; 23 @property(strong, nonatomic) NSString *VCsPluralToAdd; 46 @property(strong, nonatomic) NSString *URLStr; 48 @property(strong, nonatomic) NSString *abc_URL; [all …]
|
| /llvm-project-15.0.7/lldb/test/API/commands/expression/persist_objc_pointeetype/ |
| H A D | main.m | 15 @property (nonatomic, strong) NSString *_sc_name; 16 @property (nonatomic, strong) NSString *_sc_name2; 17 @property (nonatomic, strong) NSString *_sc_name3; 18 @property (nonatomic, strong) NSString *_sc_name4; 19 @property (nonatomic, strong) NSString *_sc_name5; 20 @property (nonatomic, strong) NSString *_sc_name6; 21 @property (nonatomic, strong) NSString *_sc_name7; 22 @property (nonatomic, strong) NSString *_sc_name8;
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | objc2-strong-cast-1.m | 5 __attribute__((objc_gc(strong))) int *i_IdocumentIDs; 6 __attribute__((objc_gc(strong))) long *l_IdocumentIDs; 7 __attribute__((objc_gc(strong))) long long *ll_IdocumentIDs; 8 __attribute__((objc_gc(strong))) float *IdocumentIDs; 9 __attribute__((objc_gc(strong))) double *d_IdocumentIDs;
|
| H A D | arc-captured-32bit-block-var-layout-2.m | 11 NSString *strong; 15 void (^block1)(void) = ^{ printf("%#llx", eightByte); NSLog(@"%@", strong); }; 20 void (^block2)(void) = ^{ printf("%#llx, %d", eightByte, i); NSLog(@"%@", strong); }; 25 void (^block3)(void) = ^{ printf("%c %#llx", ch, eightByte); NSLog(@"%@", strong); }; 30 void (^block4)(void) = ^{ printf("%c %#lx", ch, fourByte); NSLog(@"%@", strong); }; 35 void (^block5)(void) = ^{ NSLog(@"%@", strong); printf("%c %#llx", ch, eightByte); };
|
| H A D | arc-ivar-layout.m | 18 // CHECK-LP64: strong ivar layout for class 'AllPointers': 0x03, 0x00 38 // CHECK-LP64: strong ivar layout for class 'A': 0x02, 0x00 43 // CHECK-LP64: strong ivar layout for class 'B': 0x12, 0x00 55 // CHECK-LP64: strong ivar layout for class 'UnsafePerson': 0x21, 0x00 79 // CHECK-LP64: strong ivar layout for class 'Misaligned': 0x01, 0x00
|
| /llvm-project-15.0.7/lld/test/wasm/ |
| H A D | signature-mismatch-weak.ll | 2 ; RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/strong-symbol.s -o %t.strong.o 4 ; RUN: wasm-ld -o %t.wasm %t.o %t.strong.o %t.weak.o 2>&1 | FileCheck %s 18 ; CHECK-NEXT: >>> defined as () -> i64 in {{.*}}signature-mismatch-weak.ll.tmp.strong.o
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | autoreleasewritechecker_test.m | 98 …se pool that may exit before method returns; consider writing first to a strong local variable dec… 172 …eter inside locally-scoped autorelease pool; consider writing first to a strong local variable dec… 205 …eter inside locally-scoped autorelease pool; consider writing first to a strong local variable dec… 213 …eter inside locally-scoped autorelease pool; consider writing first to a strong local variable dec… 214 …eter inside locally-scoped autorelease pool; consider writing first to a strong local variable dec… 243 …eter inside locally-scoped autorelease pool; consider writing first to a strong local variable dec… 255 … pool that may exit before function returns; consider writing first to a strong local variable dec… 258 … pool that may exit before function returns; consider writing first to a strong local variable dec… 261 … pool that may exit before function returns; consider writing first to a strong local variable dec… 264 … pool that may exit before function returns; consider writing first to a strong local variable dec… [all …]
|