Home | History | Annotate | Download | only in SemaObjC

Lines Matching full:property

1 // RUN: %clang_cc1 -fsyntax-only -Wobjc-missing-property-synthesis -verify -Wno-objc-root-class %s
11 @property int howMany; // expected-warning {{auto property synthesis is synthesizing property not explicitly synthesized}}
12 @property (retain) NSString* what; // expected-warning {{auto property synthesis is synthesizing property not explicitly synthesized}}
21 @property (nonatomic) int howMany; // expected-warning {{auto property synthesis is synthesizing property not explicitly synthesized}}
22 @property (nonatomic, retain) NSString* what; // expected-warning {{auto property synthesis is synthesizing property not explicitly synthesized}}
41 @property (nonatomic) int howMany; // expected-warning {{auto property synthesis is synthesizing property not explicitly synthesized}}
42 @property (nonatomic, retain) NSString* what; // expected-warning {{auto property synthesis is synthesizing property not explicitly synthesized}}
64 @property int howMany;
65 @property (retain) NSString* what;
92 @property(assign,readonly) float relevance;
93 @property(assign,readonly) char isTitleMatch;
119 @property enum A x; // expected-note {{forward declaration of 'enum A'}} expected-note {{property declared here}}
120 @property struct B y; // expected-note {{forward declaration of 'struct B'}} expected-note {{property declared here}} \
121 // expected-warning {{auto property synthesis is synthesizing property not explicitly synthesized}}
123 @implementation rdar11333367 // expected-error {{cannot synthesize property 'y' with incomplete type 'struct B'}} \
125 @synthesize x; // expected-error {{cannot synthesize property 'x' with incomplete type 'enum A'}}
130 @property (nonatomic, copy, readonly) NSString *description; // expected-note {{property declared here}}
135 @property (nonatomic, copy, readonly) NSString *description; // expected-warning {{auto property synthesis will not synthesize property 'description'; it will be implemented by its superclass}}