| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | objcmt-atomic-property.m.result | 73 @property (getter=isContinuous) BOOL continuous; 95 @property (getter=getM, readonly) BOOL m; 96 @property (getter=getMA, readonly) BOOL MA; 97 @property (getter=getALL, readonly) BOOL ALL; 98 @property (getter=getMANY, readonly) BOOL MANY; 99 @property (getter=getSome, readonly) BOOL some; 133 @property (getter=getM, readonly) BOOL m; 134 @property (getter=getMA, readonly) BOOL MA; 135 @property (getter=getALL, readonly) BOOL ALL; 136 @property (getter=getMANY, readonly) BOOL MANY; [all …]
|
| H A D | objcmt-property.m.result | 76 @property (nonatomic, getter=isContinuous) BOOL continuous; 98 @property (nonatomic, getter=getM, readonly) BOOL m; 99 @property (nonatomic, getter=getMA, readonly) BOOL MA; 100 @property (nonatomic, getter=getALL, readonly) BOOL ALL; 101 @property (nonatomic, getter=getMANY, readonly) BOOL MANY; 102 @property (nonatomic, getter=getSome, readonly) BOOL some; 136 @property (nonatomic, getter=getM, readonly) BOOL m; 137 @property (nonatomic, getter=getMA, readonly) BOOL MA; 138 @property (nonatomic, getter=getALL, readonly) BOOL ALL; 139 @property (nonatomic, getter=getMANY, readonly) BOOL MANY; [all …]
|
| H A D | objcmt-ns-nonatomic-iosonly.m.result | 80 @property (NS_NONATOMIC_IOSONLY, getter=isContinuous) BOOL continuous; 102 @property (NS_NONATOMIC_IOSONLY, getter=getM, readonly) BOOL m; 103 @property (NS_NONATOMIC_IOSONLY, getter=getMA, readonly) BOOL MA; 104 @property (NS_NONATOMIC_IOSONLY, getter=getALL, readonly) BOOL ALL; 105 @property (NS_NONATOMIC_IOSONLY, getter=getMANY, readonly) BOOL MANY; 106 @property (NS_NONATOMIC_IOSONLY, getter=getSome, readonly) BOOL some; 140 @property (NS_NONATOMIC_IOSONLY, getter=getM, readonly) BOOL m; 141 @property (NS_NONATOMIC_IOSONLY, getter=getMA, readonly) BOOL MA; 142 @property (NS_NONATOMIC_IOSONLY, getter=getALL, readonly) BOOL ALL; 143 @property (NS_NONATOMIC_IOSONLY, getter=getMANY, readonly) BOOL MANY; [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | error-missing-getter.m | 12 if (x.setterOnly) { // expected-error {{no getter method for read from property}} 15 func(x.setterOnly + 1, x); // expected-error {{no getter method for read from property}} 16 int i = x.setterOnly + 1; // expected-error {{no getter method for read from property}} 17 return x.setterOnly + 1; // expected-error {{no getter method for read from property}} 27 if (TestClass.setterOnly) { // expected-error {{no getter method for read from property}} 30 … func(TestClass.setterOnly + 1, x); // expected-error {{no getter method for read from property}} \ 32 int i = TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}} 33 return TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}} 41 return super.setterOnly; // expected-error {{no getter method for read from property}}
|
| H A D | atomic-property-synthesis-rules.m | 7 3. the current @implementation contains a hand-written setter XOR getter 12 manually-implemented getter, which may break atomicity. 13 warning: Atomic property 'x' has a synthesized getter and a 111 // expected-note {{setter and getter must both be synthesized}} 113 // expected-note {{setter and getter must both be synthesized}} 144 … // expected-note {{setter and getter must both be synthesized}} 146 … // expected-note {{setter and getter must both be synthesized}} 207 … // expected-note {{setter and getter must both be synthesized}} 333 // late synthesize - follows getter/setter implementations 349 …tomic property 'x' cannot pair a synthesized setter/getter with a manually implemented setter/gett… [all …]
|
| H A D | attr-swift_name.m | 103 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 107 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 137 float Point3DStaticSubscript(unsigned x) SWIFT_NAME("getter:Point3D.subscript(_:)"); 140 float Point3DStaticSubscriptNoArgs(void) SWIFT_NAME("getter:Point3D.subscript()"); 145 Point3D getCurrentPoint3D(void) SWIFT_NAME("getter:currentPoint3D()"); 149 Point3D getLastPoint3D(void) SWIFT_NAME("getter:lastPoint3D()"); 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 155 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); 158 Point3D badGetter1(int x) SWIFT_NAME("getter:bad1(_:)"); 161 void badSetter1(void) SWIFT_NAME("getter:bad1())"); [all …]
|
| H A D | property-13.m | 17 getter = optional_preexisting_setter_getter) int optional_with_setter_getter_attr; 22 @property (readonly, getter = optional_preexisting_setter_getter) int optional_getter_attr; 62 /* 3. Test of optional property with pre-sxisting defined setter/getter */ 67 /* 4. Test of optional property with setter/getter attribute */ 72 /* 5. Test of optional property with getter attribute and default setter method. */
|
| H A D | arc-decls.m | 70 …ention for returning 'owned' objects}} expected-note{{explicitly declare getter '-newFoo' with '__… 71 …ention for returning 'owned' objects}} expected-note{{explicitly declare getter '-copyBar' with '_… 72 …ention for returning 'owned' objects}} expected-note{{explicitly declare getter '-allocBaz' with '… 74 …ention for returning 'owned' objects}} expected-note{{explicitly declare getter '-newDFoo' with '_… 75 …ention for returning 'owned' objects}} expected-note{{explicitly declare getter '-copyDBar' with '… 76 …ention for returning 'owned' objects}} expected-note{{explicitly declare getter '-allocDBaz' with … 94 - (id)newFoo; // expected-note {{explicitly declare getter '-newFoo' with '__attribute__((objc_meth… 97 - (id)newBar; // expected-note {{explicitly declare getter '-newBar' with 'OBJC_METHOD_FAMILY_NONE'… 100 …ntion for returning 'owned' objects}} expected-note {{explicitly declare getter '-newBaz' with 'OB… 103 …ntion for returning 'owned' objects}} expected-note {{explicitly declare getter '-newGarply' with …
|
| H A D | property-3.m | 37 @property (nonatomic, readonly, getter=isAvailable) int available; // expected-note{{property decla… 41 @property (nonatomic, assign, getter=wasAvailable) int available; // expected-warning{{getter name …
|
| H A D | no-warning-unavail-unimp.m | 7 @property (getter=getVal) int val __attribute__((unavailable)); 8 @property (getter=getVal) int val2 __attribute__((availability(macosx,unavailable)));
|
| H A D | error-implicit-property.m | 18 arg.P++; // expected-error {{no getter method 'P' for increment of property}} 19 --arg.P; // expected-error {{no getter method 'P' for decrement of property}}
|
| H A D | property-category-4.m | 98 @property (readonly) int p; // no warning for this property - a getter is declared in another cate… 100 @property (readonly) int p2; // no warning for this property - a getter is declared in this catego… 110 @property (readonly) float Float; // no warning for this property - a getter is declared in this p…
|
| H A D | super-property-notation.m | 5 -(int) getter; method 21 int x = super.getter;
|
| H A D | property-user-setter.m | 92 g(c.Foo); // expected-error {{no getter method for read from property}} 135 return self.R; // expected-error {{no getter method for read from property}} \ 145 @property(assign, readwrite, getter=formatter, setter=setFormatter:) BridgeFormatter* cppFormatter;
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | property-getter-setter.m | 2 @property (assign,readwrite,getter=b,setter=c:) id a; 3 @property (assign,readonly,getter=e) id d; 8 // CHECK: ObjCPropertyDecl=a:2:52 [getter,assign,readwrite,setter,] (getter=b) (setter=c:) [typedec… 9 // CHECK: ObjCPropertyDecl=d:3:41 [readonly,getter,assign,] (getter=e) [typedeclaration=id] [typeki…
|
| H A D | complete-documentation-properties.m | 11 @property (readonly, getter = ReadonlyGetter) id MyProperty; 40 @property (copy, getter = GetterInClassExtension) id PropertyInClassExtension; 78 @property (getter = ReadonlyGetter) int MyProperty; 80 \brief This is getter = ReadonlyGetter 91 // CHECK-CC7: {TypedText ReadonlyGetter}{{.*}}(brief comment: This is getter = ReadonlyGetter)
|
| H A D | complete-property-flags.m | 15 // CHECK-CC1-NEXT: {TypedText getter}{Text =}{Placeholder method} 34 // CHECK-CC1-ARC-NEXT: {TypedText getter}{Text =}{Placeholder method} 49 // CHECK-CC2: {TypedText getter}{Text =}{Placeholder method}
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | dot-syntax-1.m | 13 @property(getter=_getX,setter=_setX:) int x; 49 @property(getter=_getX,setter=_setX:) int x; 72 // Mixed setter & getter (variant 1) 80 @property(getter=_getX,setter=_setX:) int x; 103 // Mixed setter & getter (variant 2) 111 @property(getter=_getX,setter=_setX:) int x; 134 // Mixed setter & getter (variant 3) 137 @property(getter=_getX,setter=_setX:) int x; 165 // Mixed setter & getter (variant 4) 168 @property(getter=_getX,setter=_setX:) int x; [all …]
|
| H A D | super-dotsyntax-property.m | 11 -(int) getter; method 29 super.getter = 200; 30 int x = super.getter;
|
| H A D | debug-info-property-accessors.m | 9 // CHECK-SAME: getter: "isBlah" 30 @property (getter=isBlah, setter=setBlah:) BOOL blah;
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/DWARF/ |
| H A D | clang-ast-from-dwarf-objc-property.m | 10 @property (readonly, getter=custom_getter) int manual; 18 // CHECK: | `-getter ObjCMethod [[READONLY:0x[0-9a-f]+]] 'ro_number' 21 // CHECK: | |-getter ObjCMethod {{.*}} 'rw_number' 24 // CHECK: | `-getter ObjCMethod [[CUSTOM:0x[0-9a-f]+]] 'custom_getter' 27 // CHECK: | `-getter ObjCMethod [[CLASS:0x[0-9a-f]+]] 'class_property'
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | diobjcproperty.ll | 12 ; CHECK-NEXT: !3 = !DIObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo", getter: "getFo… 14 getter: "getFoo", attributes: 7, type: !2) 17 !4 = !DIObjCProperty(name: "", file: null, line: 0, setter: "", getter: "",
|
| /llvm-project-15.0.7/clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/ |
| H A D | SomeKit.apinotes | 16 AvailabilityMsg: "getter gone" 20 AvailabilityMsg: "getter gone" 24 AvailabilityMsg: "getter gone" 28 AvailabilityMsg: "getter gone"
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-print-objc-property.m | 10 @property(retain, nonatomic, setter=my_setter:, getter=my_getter) id __crazy_name; 19 // CHECK: @property(nonatomic, retain, readwrite, getter = my_getter, setter = my_setter:) id __cra…
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | stmt-attributes.m | 3 // RUN: -Wno-unused-value -Wno-unused-getter-return-value 13 @property(getter=hasFoobar) int foobar;
|