Lines Matching full:property
29 @property (assign, nonatomic) MyClass* A; // explicitely synthesized, not implemented, non-default ivar name
31 @property (assign) MyClass* X; // automatically synthesized, not implemented
33 @property (assign, nonatomic) MyClass* Y; // automatically synthesized, implemented
35 @property (assign, nonatomic) MyClass* Z; // non-synthesized ivar, implemented setter
36 @property (readonly) id nonSynth; // non-synthesized, explicitly implemented to return ivar with expected name
38 @property (assign) MyClass* NotA; // warnings should be suppressed, backing ivar is annotated
39 @property (assign) MyClass* NotX __attribute__((annotate("objc_allow_direct_instance_variable_assignment"))); // warnings should be suppressed
47 (__A) = In; // expected-warning {{Direct assignment to an instance variable backing a property; use the setter instead}}
48 _X = In; // expected-warning {{Direct assignment to an instance variable backing a property; use the setter instead}}
49 _Y = In; // expected-warning {{Direct assignment to an instance variable backing a property; use the setter instead}}
50 _Z = In; // expected-warning {{Direct assignment to an instance variable backing a property; use the setter instead}}
51 _nonSynth = 0; // expected-warning {{Direct assignment to an instance variable backing a property; use the setter instead}}