Home | History | Annotate | Download | only in SemaObjC

Lines Matching full:retain

8 @property(retain) int p1; // expected-error {{property with 'retain (or strong)' attribute must be of object type}}
9 @property(strong) int s1; // expected-error {{property with 'retain (or strong)' attribute must be of object type}}
14 @property(assign, retain) id p3_1; // expected-error {{property attributes 'assign' and 'retain' are mutually exclusive}}
16 @property(copy, retain) id p3_2; // expected-error {{property attributes 'copy' and 'retain' are mutually exclusive}}
18 @property(assign, copy, retain) id p3_3; // expected-error {{property attributes 'assign' and 'copy' are mutually exclusive}}, expected-error {{property attributes 'assign' and 'retain' are mutually exclusive}}
22 @property(unsafe_unretained, retain) id p4_1; // expected-error {{property attributes 'unsafe_unretained' and 'retain' are mutually exclusive}}
24 @property(unsafe_unretained, copy, retain) id p4_3; // expected-error {{property attributes 'unsafe_unretained' and 'copy' are mutually exclusive}}, expected-error {{property attributes 'unsafe_unretained' and 'retain' are mutually exclusive}}
27 @property id p4; // expected-warning {{no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed}}, expected-warning {{default property attribute 'assign' not appropriate for non-GC object}}
35 @property (retain) int PROP; // expected-error {{property with 'retain (or strong)' attribute must be of object type}}
36 @property (strong) int SPROP; // expected-error {{property with 'retain (or strong)' attribute must be of object type}}