Lines Matching full:attribute
3 // Check property attribute consistency.
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}}
11 @property(copy) int p2; // expected-error {{property with 'copy' attribute must be of object type}}
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}}
30 @property(nonatomic,copy) int (*includeMailboxCondition2)(); // expected-error {{property with 'copy' attribute must be of object type}}
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}}
37 @property(nonatomic,copy) int (*PROP1)(); // expected-error {{property with 'copy' attribute must be of object type}}
38 @property(nonatomic,weak) int (*PROP2)(); // expected-error {{property with 'weak' attribute must be of object type}}