Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 926) sorted by relevance

12345678910>>...38

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dproperty-atomic-redecl.m8 @property (readonly) A *property; property
12 @property (nonatomic,readwrite,retain) A *property;
16 @property (readonly) A *property; property
21 @property (readonly) A *property; property
25 @property (nonatomic, readwrite, retain) A *property; property
29 @property (readonly, nonatomic) A *property; property
33 @property (readwrite) A *property;
38 @property (readonly,atomic) A *property; // expected-note{{property declared here}} property
42 @property (nonatomic,readwrite,retain) A *property; // expected-warning{{'atomic' attribute on prop…
46 @property (readonly) A *property; property
[all …]
H A Datomic-property-synthesis-rules.m5 1. the property is atomic
8 4. the property is read-write
109 @property int GetSet;
110 @property int Get; // expected-note {{property declared here}} \
112 @property int Set; // expected-note {{property declared here}} \
114 @property int None;
143 @property int Get_LateSynthesize; // expected-note {{property declared here}} \
145 @property int Set_LateSynthesize; // expected-note {{property declared here}} \
174 @property int Get_NoSynthesize;
206 @property(readwrite) int Get_ReadWriteInExt; // expected-note {{property declared here}} \
[all …]
H A Darc-property-decl-attrs.m10 @property(strong) id x;
11 @property(strong) id y;
12 @property(strong) id z;
21 @property(retain) id x;
22 @property(retain) id y;
23 @property(retain) id z;
32 @property(copy) id x;
33 @property(copy) id y;
34 @property(copy) id z;
77 @property (readwrite) id foo;
[all …]
H A Dproperty-10.m3 // Check property attribute consistency.
6 @property(readonly, readwrite) int p0; // expected-error {{property attributes 'readonly' and 'read…
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 …
11 @property(copy) int p2; // expected-error {{property with 'copy' attribute must be of object type}}
13 @property(assign, copy) id p3_0; // expected-error {{property attributes 'assign' and 'copy' are mu…
14 @property(assign, retain) id p3_1; // expected-error {{property attributes 'assign' and 'retain' ar…
15 @property(assign, strong) id s3_1; // expected-error {{property attributes 'assign' and 'strong' ar…
16 @property(copy, retain) id p3_2; // expected-error {{property attributes 'copy' and 'retain' are mu…
17 @property(copy, strong) id s3_2; // expected-error {{property attributes 'copy' and 'strong' are mu…
[all …]
H A Ddefault-synthesize-3.m8 @property int NoAutoProp; // expected-note 2 {{property declared here}}
17 @property (copy) id SubProperty; // expected-note 2 {{property declared here}}
46 @property (readonly) char isFoo; // expected-note {{property declared here}}
67 …property char Property1; // expected-warning {{auto property synthesis will not synthesize propert…
69 @property (readwrite) char isNotFree; // expected-warning {{auto property synthesis will not synthe…
93 @property (readonly) id prop; // expected-note {{property declared here}}
94 @property (readonly) id prop1; // expected-note {{property declared here}}
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…
[all …]
H A Dproperty-in-class-extension-1.m15 @property (readonly) NSString* none;
16 @property (readonly) NSString* none1;
18 @property (assign, readonly) NSString* changeMemoryModel; // expected-note {{property declared here…
20 @property (readonly) __weak id weak_prop;
21 @property (readonly) __weak id weak_prop1;
25 @property (readonly) NSString* readonlyProp;
39 @property () NSString* none;
43 @property () __weak id weak_prop;
47 @property (assign) NSString* readonlyProp;
54 @property (nonatomic, readonly) float propertyName2; // expected-note {{property declared here}}
[all …]
H A Dunused-backing-ivar-warning.m7 @property (nonatomic, copy) id t; // expected-note {{property declared here}}
8 @property (nonatomic, copy) id u; // expected-note {{property declared here}}
9 @property (nonatomic, copy) id v; // expected-note {{property declared here}}
10 @property (nonatomic, copy) id w;
11 @property (nonatomic, copy) id x; // expected-note {{property declared here}}
12 @property (nonatomic, copy) id y; // expected-note {{property declared here}}
13 @property (nonatomic, copy) id z;
111 @property (assign) long q; // expected-note 2 {{property declared here}}
112 @property (assign, readonly) long r; // expected-note {{property declared here}}
128 @property (readonly) int p1;
[all …]
H A Darc-property-lifetime.m10 @property(strong) id x; // expected-note {{property declared here}}
11 @property(strong) id y; // expected-note {{property declared here}}
12 @property(strong) id z;
27 @property(retain) id x; // expected-note {{property declared here}}
28 @property(retain) id y; // expected-note {{property declared here}}
29 @property(retain) id z;
44 @property(copy) id x; // expected-note {{property declared here}}
45 @property(copy) id y; // expected-note {{property declared here}}
46 @property(copy) id z;
76 @property(assign) id y; // expected-note {{property declared here}}
[all …]
H A Dcategory-direct-properties.m5 @property(nonatomic, readonly) int normal_normal;
28 @property(nonatomic, readonly) int normal_normal;
80 …property(nonatomic, readonly) int direct_normal; // expected-error {{property declaration …
81 …property(nonatomic, readonly, direct) int normal_direct; // expected-error {{direct property decla…
82 …property(nonatomic, readonly, direct) int direct_direct; // expected-error {{direct property decla…
101 …property(nonatomic, readonly) int direct_normal; // expected-error {{property declaration …
102 …property(nonatomic, readonly, direct) int normal_direct; // expected-error {{direct property decla…
103 …property(nonatomic, readonly, direct) int direct_direct; // expected-error {{direct property decla…
148 …property(nonatomic, readonly) int direct_normal; // expected-error {{property declaration …
149 …property(nonatomic, readonly, direct) int normal_direct; // expected-error {{direct property decla…
[all …]
H A Dproperty-inherited.m24 @property(nonatomic, assign) id<BarDelegate> delegate2; // expected-note {{property declared here}}
37 @property(assign) id ref;
38 @property(assign) Base *p_base;
39 @property(assign) NSMutableData *p_data; // expected-note {{property declared here}}
43 @property(assign) NSData *ref;
44 @property(assign) Data *p_base;
50 @property (nonatomic) void* selected;
54 @property (nonatomic) void* selected; // expected-note {{property declared here}}
58 @property (nonatomic) void* selected; // expected-note {{property declared here}}
59 @property (nonatomic) char selected2;
[all …]
H A Ddefault-synthesize-1.m11 @property int howMany; // expected-warning {{auto property synthesis is synthesizing property not e…
12 @property (retain) NSString* what; // expected-warning {{auto property synthesis is synthesizing pr…
21 @property (nonatomic) int howMany; // expected-warning {{auto property synthesis is synthesizing …
22 @property (nonatomic, retain) NSString* what; // expected-warning {{auto property synthesis is syn…
41 @property (nonatomic) int howMany; // expected-warning {{auto property synthesis is synthesizing pr…
42 @property (nonatomic, retain) NSString* what; // expected-warning {{auto property synthesis is synt…
64 @property int howMany;
65 @property (retain) NSString* what;
119 @property enum A x; // expected-note {{forward declaration of 'enum A'}} expected-note {{property d…
130 @property (nonatomic, copy, readonly) NSString *description; // expected-note {{property declared h…
[all …]
H A Dcontinuation-class-property.m5 @property (readonly, copy) id foos;
18 @property (readwrite, copy) id foos;
22 @property (readwrite, copy) id foos;
36 @property (readonly) NSRect foo; // expected-note {{property declared here}}
37 @property (readonly, strong) NSString *bar; // expected-note {{property declared here}}
41 @property (readwrite) NSString *foo; // expected-error {{type of property 'NSString *' in class ext…
42 @property (readwrite, strong) NSRect bar; // expected-error {{type of property 'NSRect' in class ex…
50 @property (nonatomic, readonly, assign) struct S *httpRequest2;
51 @property (nonatomic, readonly, assign) struct S1 *httpRequest3;
67 @property (nonatomic, readonly) NSString *currentPictureURI;
[all …]
H A Dduplicate-property-class-extension.m5 @property (readonly) char foo;
6 @property (readwrite) char bar; // expected-note {{property declared here}}
10 @property (readwrite) char foo; // expected-note 2 {{property declared here}}
11 @property (readwrite) char NewProperty; // expected-note 2 {{property declared here}}
12 …property (readwrite) char bar; // expected-error{{illegal redeclaration of 'readwrite' property in…
16 @property (readwrite) char foo; // expected-error {{property has a previous declaration}}
17 @property (readwrite) char NewProperty; // expected-error {{property has a previous declaration}}
21 @property (readonly) char foo; // expected-error {{property has a previous declaration}}
22 @property (readwrite) char NewProperty; // expected-error {{property has a previous declaration}}
H A Darc-property.m11 @property (strong) id myString; // expected-note {{property declared here}}
12 @property (strong) id myString1;
13 @property (retain) id myString2; // expected-note {{property declared here}}
15 @property (weak) id myString3;
16 @property (weak) id myString4;
17 @property __weak id myString5; // expected-note {{property declared here}}
38 @property(weak) id x; // expected-note {{property declared here}}
39 @property(weak) id y; // expected-note {{property declared here}}
40 @property(weak) id z;
44 @synthesize x; // expected-note {{property synthesized here}}
[all …]
H A Dobjc-class-property.m4 #error does not support class property
16 @property int x;
17 @property int y;
18 @property int z;
19 @property(readonly) int ro, ro2;
20 @property (class) int c;
21 @property (class) int c2; // expected-note {{property declared here}} \
23 @property (class) int x;
33 @dynamic c; // refers to the class property
40 …a.c; // expected-error {{property 'c' is a class property; did you mean to access it with class 'A…
[all …]
H A Dproperty-3.m7 @property (readwrite, copy) id d1;
8 @property (readwrite, copy) id d2;
12 …property (readonly) id d1; // expected-warning {{attribute 'readonly' of property 'd1' restricts a…
13 @property (readwrite, copy) I* d2;
20 @property (nonatomic, readonly) BOOL allowReminders;
21 @property (atomic, readonly) BOOL allowNonatomicProperty; // expected-note {{property declared here…
31 @property (nonatomic, assign) BOOL allowReminders;
32 …property (nonatomic, assign) BOOL allowNonatomicProperty; // expected-warning {{'atomic' attribute…
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 Dwarn-retain-block-property.m14 @property (retain) void (^aBlock)(void);
15 @property (weak, retain) void (^aBlockW)(void);
16 @property (strong, retain) void (^aBlockS)(void); // OK
17 @property (readonly, retain) void (^aBlockR)(void); // OK
18 @property (copy, retain) void (^aBlockC)(void);
19 @property (assign, retain) void (^aBlockA)(void);
35 // CHECK-ARC: @property (retain) void (^aBlock)(void);
38 // CHECK-ARC: @property (weak, retain) void (^aBlockW)(void);
52 // CHECK: @property (retain) void (^aBlock)(void);
55 // CHECK: @property (weak, retain) void (^aBlockW)(void);
[all …]
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-property.m.result60 @property (nonatomic, assign) id target;
70 @property (nonatomic, strong) id MYtarget;
72 @property (nonatomic, strong) id targetX;
74 @property (nonatomic) int value;
107 @property (nonatomic, assign) id target;
116 @property (nonatomic, strong) id targetX;
118 @property (nonatomic) int value;
166 // Do not infer a property.
172 // Do not infer a property.
178 // Do not infer a property.
[all …]
H A Dobjcmt-atomic-property.m.result60 @property (assign) id target;
67 @property (strong) id MYtarget;
69 @property (strong) id targetX;
71 @property int value;
104 @property (assign) id target;
113 @property (strong) id targetX;
115 @property int value;
163 // Do not infer a property.
169 // Do not infer a property.
175 // Do not infer a property.
[all …]
H A Dobjcmt-ns-nonatomic-iosonly.m.result2 …ks -objcmt-migrate-readwrite-property -objcmt-ns-nonatomic-iosonly -objcmt-migrate-readonly-proper…
67 @property (NS_NONATOMIC_IOSONLY, assign) id target;
76 @property (NS_NONATOMIC_IOSONLY, strong) id targetX;
78 @property (NS_NONATOMIC_IOSONLY) int value;
122 @property (NS_NONATOMIC_IOSONLY) int value;
170 // Do not infer a property.
176 // Do not infer a property.
182 // Do not infer a property.
186 // Do not infer a property.
195 - (BOOL)is1stClass; // Not a valid property
[all …]
H A Dassign-prop-with-arc-runtime.m25 @property (readonly) Foo *x;
26 @property (assign) Foo *w;
27 @property Foo *q1, *q2;
28 @property (assign) WeakOptOut *oo;
30 @property (assign) id not_safe1;
31 @property () NSObject *not_safe2;
32 @property Forw *not_safe3;
40 @property (retain) id def1;
41 @property (atomic,retain) id def2;
61 @property (readonly) TestExt *x2;
[all …]
H A Dassign-prop-with-arc-runtime.m.result25 @property (weak, readonly) Foo *x;
26 @property (weak) Foo *w;
27 @property (weak) Foo *q1, *q2;
33 @property (readonly) Foo *assign_plus1;
34 @property (readonly) Foo *assign_plus2;
35 @property (readonly) Foo *assign_plus3;
37 @property (weak) Foo *no_user_ivar1;
40 @property (strong) id def1;
41 @property (atomic,strong) id def2;
42 @property (strong,atomic) id def3;
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/
H A Dproperty-declaration.m1 // RUN: %check_clang_tidy %s objc-property-declaration %t
11 @property(assign, nonatomic) int NotCamelCase;
14 @property(assign, nonatomic) int camelCase;
15 @property(strong, nonatomic) NSString *URLString;
16 @property(strong, nonatomic) NSString *bundleID;
17 @property(strong, nonatomic) NSData *RGBABytes;
24 @property(assign, nonatomic) int centerX;
28 @property(assign, nonatomic) int ID;
29 @property(assign, nonatomic) int hasADog;
32 @property(nonatomic, copy) NSArray *IDs;
[all …]
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionValueProperties.cpp43 if (property) in SetValueChangedCallback()
215 if (property) in GetPropertyAtIndexAsOptionValueArch()
224 if (property) in GetPropertyAtIndexAsOptionValueLanguage()
232 if (property) { in SetPropertyAtIndexAsLanguage()
243 if (!property) in GetPropertyAtIndexAsArgs()
268 if (!property) in SetPropertyAtIndexFromArgs()
293 if (property) { in GetPropertyAtIndexAsBoolean()
304 if (property) { in SetPropertyAtIndexAsBoolean()
318 if (property) in GetPropertyAtIndexAsOptionValueDictionary()
326 if (property) { in GetPropertyAtIndexAsEnumeration()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Ddefault-property-synthesis.m4 // Superclass declares property. Subclass redeclares the same property.
6 // Superclass declares a property. Subclass declares a different property with the same name
15 @property int P3;
16 @property int P4;
20 @property int IMP1;
24 @property int P1;
25 @property (copy) id P2;
29 @property int P1;
30 …@property (nonatomic, retain) id P2; // expected-warning {{property 'P2' 'copy' attribute does not…
32 @property int P3;
[all …]

12345678910>>...38