• Home
  • Raw
  • Download

Lines Matching refs:strong

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…
46 @property(retain) __unsafe_unretained id x; // expected-error {{strong property 'x' may not also be…
47 @property(retain) __weak id y; // expected-error {{strong property 'y' may not also be declared __w…
48 @property(retain) __autoreleasing id z; // expected-error {{strong property 'z' may not also be dec…
52 @property(copy) __unsafe_unretained id x; // expected-error {{strong property 'x' may not also be d…
53 @property(copy) __weak id y; // expected-error {{strong property 'y' may not also be declared __wea…
54 @property(copy) __autoreleasing id z; // expected-error {{strong property 'z' may not also be decla…
73 @property (readonly, strong) id frr;
94 // strong cases.
95 @property(nonatomic, strong) id stdelegate; // Do not warn
97 @property(nonatomic, strong, nonnull) id stNonNulldelete; // Do not warn
143 @property (readonly) id prop; // expected-error {{property without attribute 'retain (or strong)' w…
146 …p; // expected-note {{it could also be property with attribute 'retain (or strong)' declared here}}
237 // This property gets the 'strong' attribute automatically.
251 // no error, 'strong' is implicit in the 'readwrite' property.
257 // Allow strong readwrite property and a readonly one.
260 @property(strong) NSObject *p;
263 // expected-error@+1 {{property with attribute 'retain (or strong)' was selected for synthesis}}
264 @property(strong, readwrite) NSObject *collision;
273 // expected-note@+1 {{it could also be property without attribute 'retain (or strong)' declared her…