Home
last modified time | relevance | path

Searched refs:readwrite (Results 1 – 25 of 134) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dreorder-synthesized-ivars.m12 @property (readwrite) BOOL boolean1;
13 @property (readwrite, copy) id object1;
14 @property (readwrite) BOOL boolean2;
16 @property (readwrite) BOOL boolean3;
18 @property (readwrite) BOOL boolean4;
20 @property (readwrite) BOOL boolean5;
22 @property (readwrite) BOOL boolean6;
24 @property (readwrite) BOOL boolean7;
25 @property (readwrite) BOOL MyBool;
27 @property (readwrite) BOOL boolean8;
[all …]
H A Dgc-weak-attribute.m8 @property (readwrite, weak) id representedObject;
9 @property (readwrite, weak) id wObject;
10 @property (readwrite, weak) __weak id wRandom;
11 @property (readwrite, assign) __weak id wAnother;
H A Datomic-aggregate-property.m19 @property (readwrite) double x;
20 @property (readwrite) struct s y;
21 @property (nonatomic, readwrite) struct s1 z;
22 @property (readwrite) struct s2 a;
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dduplicate-property-class-extension.m6 @property (readwrite) char bar; // expected-note {{property declared here}}
10 @property (readwrite) char foo; // expected-note 2 {{property declared here}} category
11 @property (readwrite) char NewProperty; // expected-note 2 {{property declared here}}
12readwrite) char bar; // expected-error{{illegal redeclaration of 'readwrite' property in class ext…
16 @property (readwrite) char foo; // expected-error {{property has a previous declaration}} category
17 @property (readwrite) char NewProperty; // expected-error {{property has a previous declaration}}
22 @property (readwrite) char NewProperty; // expected-error {{property has a previous declaration}}
H A Dcontinuation-class-property.m18 @property (readwrite, copy) id foos; category
22 @property (readwrite, copy) id foos; category
41 @property (readwrite) NSString *foo; // expected-error {{type of property 'NSString *' in class ext… category
42 @property (readwrite, strong) NSRect bar; // expected-error {{type of property 'NSRect' in class ex…
59 @property (nonatomic, readwrite, assign) struct evhttp_request *httpRequest;
60 @property (nonatomic, readwrite, assign) struct S *httpRequest2;
61 @property (nonatomic, readwrite, assign) struct S1 *httpRequest3;
62 @property (nonatomic, readwrite, assign) struct S2 *httpRequest4;
H A Datomic-property-synthesis-rules.m205 @property(readwrite) int GetSet_ReadWriteInExt; category
210 @property(readwrite) int None_ReadWriteInExt;
212 @property(nonatomic,readwrite) int Get_Nonatomic_ReadWriteInExt;
213 @property(nonatomic,readwrite) int Set_Nonatomic_ReadWriteInExt;
214 @property(nonatomic,readwrite) int None_Nonatomic_ReadWriteInExt;
216 @property(readwrite) int GetSet_ReadWriteInExt_LateSynthesize;
221 @property(readwrite) int None_ReadWriteInExt_LateSynthesize;
227 @property(readwrite) int GetSet_ReadWriteInExt_NoSynthesize;
228 @property(readwrite) int Get_ReadWriteInExt_NoSynthesize;
229 @property(readwrite) int Set_ReadWriteInExt_NoSynthesize;
[all …]
H A Dcontinuation-class-err.m9 @property(readwrite, assign) id object1; // expected-note {{property declared here}}
14 @property(readwrite, copy) id object; // Ok. declaring memory model in class extension - primary ha… category
15 …claration of property in class extension 'ReadOnly' (attribute must be 'readwrite', while its prim…
16 @property (readwrite, assign) int indentLevel; // OK. assign the default in any case.
34 … redeclaration of property in class extension 'Bar' (attribute must be 'readwrite', while its prim…
35 … redeclaration of property in class extension 'Bar' (attribute must be 'readwrite', while its prim…
H A Dproperty-in-class-extension-1.m40 @property (readwrite, retain) NSString* none1;
44 @property (readwrite) __weak id weak_prop1;
46 @property (assign, readwrite) NSString* assignProperty;
58 …tomic, nonatomic, readonly, readwrite) float propertyName; // expected-error {{property attributes…
61 @property (atomic, readwrite) float propertyName2; // expected-warning {{'atomic' attribute on prop…
H A Dproperty-in-class-extension.m32 @property (readwrite, assign) NSObject *bar; category
33 @property (readwrite, assign) NSObject *baz;
34 @property (readwrite, assign) NSObject *bam;
35 @property (readwrite, assign) NSObject *warn;
H A Dproperty-atomic-redecl.m12 @property (nonatomic,readwrite,retain) A *property;
25 @property (nonatomic, readwrite, retain) A *property;
33 @property (readwrite) A *property; category
42 @property (nonatomic,readwrite,retain) A *property; // expected-warning{{'atomic' attribute on prop…
55 @property (nonatomic, readwrite, retain) A *property; // expected-warning{{atomic' attribute on pro…
H A Darc-setter-property-match.m14 @property (readwrite, strong) NSArray *names1; // <-- warning: Type of property....
16 @property (readwrite, strong) __strong NSArray *names2; // <-- warning: Type of property....
18 @property (readwrite, strong) __strong NSArray *names3; // <-- OK
20 @property (readwrite, strong) NSArray *names4; // <-- warning: Type of property....
H A Diboutlet.m10 …not work correctly with 'nib' loader}} expected-note {{property should be changed to be readwrite}}
12 …not work correctly with 'nib' loader}} expected-note {{property should be changed to be readwrite}}
28 …not work correctly with 'nib' loader}} expected-note {{property should be changed to be readwrite}}
34 @property( readwrite ) __attribute__((iboutlet)) UILabel *autoReadOnlyReadWrite; category
35 @property( readwrite ) __attribute__((iboutlet)) UILabel *synthReadOnlyReadWrite;
H A Dproperty-3.m7 @property (readwrite, copy) id d1;
8 @property (readwrite, copy) id d2;
12 …ed-warning {{attribute 'readonly' of property 'd1' restricts attribute 'readwrite' of property inh…
13 @property (readwrite, copy) I* d2;
H A Dwarn-implicit-atomic-property.m5 @property (nonatomic, readwrite) int P; // OK
6 @property (atomic, readwrite) int P1; // OK
7 @property (readwrite) int P2; // expected-note {{property declared here}}
H A Ddefault-synthesize-2.m46 @property (readwrite, assign) id uid; // expected-note {{property declared here}}
62 @property (readwrite, assign) id var;
77 @property (readwrite, assign) id var;
92 @property (readwrite, assign) id var;
107 @property (readwrite, assign) id object;
H A Ddefault-synthesize-3.m66 @property (readwrite) char isFoo; // expected-warning {{auto property synthesis will not synthesize… category
69 @property (readwrite) char isNotFree; // expected-warning {{auto property synthesis will not synthe…
103 @property (readwrite) id prop2;
107 @property (assign,readwrite) id prop; // expected-warning {{auto property synthesis will not synthe…
108 @property (assign,readwrite) id prop1; // expected-warning {{auto property synthesis will not synth…
109 @property (assign,readwrite) id prop2; // expected-warning {{auto property synthesis will not synth…
143 @property (assign, readwrite) int failureCount;
H A Dtentative-property-decl.m6 are tentative as they may be overridden into a 'readwrite' property in class
23 @property(nonatomic, copy, readwrite) NSString *prop;
41 @property(nonatomic, copy, readwrite) NSString *prop;
H A Darc-property-decl-attrs.m77 @property (readwrite) id foo;
78 @property (readwrite) id fee;
79 @property (readwrite) id frr;
118 @property (readwrite) id prop; category
185 @property (copy, setter=setp:, readwrite) id prop; // expected-error {{property with setter 'setp:'…
188 @property (copy, readwrite) id prop; // expected-note {{it could also be property with setter 'setP…
220 @property (assign, nonatomic, readwrite) id prop; // expected-error {{property of type 'id' was sel…
238 @property (nonatomic, readwrite) NSObject *prop;
251 // no error, 'strong' is implicit in the 'readwrite' property.
257 // Allow strong readwrite property and a readonly one.
[all …]
/llvm-project-15.0.7/clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/
H A DSomeKit.h28 @property (nonatomic, readwrite, retain) A *nonnullAInstance;
29 @property (class, nonatomic, readwrite, retain) A *nonnullAInstance;
31 @property (nonatomic, readwrite, retain) A *nonnullAClass;
32 @property (class, nonatomic, readwrite, retain) A *nonnullAClass;
34 @property (nonatomic, readwrite, retain) A *nonnullABoth;
35 @property (class, nonatomic, readwrite, retain) A *nonnullABoth;
56 @property (nonatomic, readwrite, retain) A *implicitGetSetInstance;
57 @property (class, nonatomic, readwrite, retain) A *implicitGetSetClass;
H A DSomeKitExplicitNullability.h2 @property (nonatomic, readwrite, retain, nonnull) A *explicitNonnullInstance;
3 @property (nonatomic, readwrite, retain, nullable) A *explicitNullableInstance;
/llvm-project-15.0.7/clang/test/AST/
H A Dast-print-objc-property.m16 // CHECK: @property(class, atomic, assign, unsafe_unretained, readwrite) int classFoo;
17 // CHECK: @property(nonatomic, assign, unsafe_unretained, readwrite) int atomicBar;
19 // CHECK: @property(nonatomic, retain, readwrite, getter = my_getter, setter = my_setter:) id __cra…
20 // CHECK: @property(nonatomic, strong, readwrite, nullable) NSObject *objProperty;
21 // CHECK: @property(nonatomic, weak, readwrite, null_resettable) NSObject *weakObj;
22 // CHECK: @property(nonatomic, copy, readwrite, nonnull) NSObject *copyObj;
/llvm-project-15.0.7/clang/test/Index/
H A Dproperty-getter-setter.m2 @property (assign,readwrite,getter=b,setter=c:) id a;
4 @property (assign,readwrite) id f;
8 // CHECK: ObjCPropertyDecl=a:2:52 [getter,assign,readwrite,setter,] (getter=b) (setter=c:) [typedec…
10 // CHECK: ObjCPropertyDecl=f:4:33 [assign,readwrite,] [typedeclaration=id] [typekind=ObjCId]
H A Dproperties-class-extensions.m19 @property (readwrite) id bar; category
31 @property (readwrite) Rdar8467189_Bar *Rdar8467189_Bar; category
38 @property (assign, readwrite) id qux;
68 // CHECK: properties-class-extensions.m:19:26: ObjCPropertyDecl=bar:19:26 [readwrite,] Extent=[19:1…
85 // CHECK: properties-class-extensions.m:31:40: ObjCPropertyDecl=Rdar8467189_Bar:31:40 [readwrite,] …
93 // CHECK: properties-class-extensions.m:38:34: ObjCPropertyDecl=qux:38:34 [assign,readwrite,] Exten…
/llvm-project-15.0.7/clang/docs/analyzer/checkers/
H A Dcallandmessage_example.c32 @property (readwrite,assign) id x; in property() argument
44 @property (readwrite,assign) id x; in property() argument
59 @property (readwrite,assign) id x; in property() argument
/llvm-project-15.0.7/clang/test/Modules/Inputs/class-extension/
H A Da-proto.h5 @property (nonatomic, readwrite, assign) int p0;
6 @property (nonatomic, readwrite, assign) int p1;

123456