Home | History | Annotate | Download | only in SemaObjC

Lines Matching full:declared

60 - (id)retain; // expected-note {{method 'retain' declared here}}
61 - (id)autorelease; // expected-note {{method 'autorelease' declared here}}
62 - (oneway void)release; // expected-note {{method 'release' declared here}}
63 - (NSUInteger)retainCount; // expected-note {{method 'retainCount' declared here}}
210 - (void) init01 {} // expected-error {{method was declared as an 'init' method, but its implementation doesn't match because its result type is not an object pointer}} \
211 // expected-warning{{method is expected to return an instance of its class type 'Test8', but is declared to return 'void'}}
213 - (void) init21 {} // expected-error {{method was declared as an 'init' method, but its implementation doesn't match because its result type is not an object pointer}}
214 - (void) init31 {} // expected-error {{method was declared as an 'init' method, but its implementation doesn't match because its result type is not an object pointer}} \
215 // expected-warning{{method is expected to return an instance of its class type 'Test8', but is declared to return 'void'}}
216 - (void) init41 {} // expected-error {{method was declared as an 'init' method, but its implementation doesn't match because its result type is not an object pointer}} \
217 // expected-warning{{method is expected to return an instance of its class type 'Test8', but is declared to return 'void'}}
221 // expected-warning{{method is expected to return an instance of its class type 'Test8', but is declared to return 'Test8_incomplete *'}}
225 // expected-warning{{method is expected to return an instance of its class type 'Test8', but is declared to return 'Test8_incomplete *'}}
227 // expected-warning{{method is expected to return an instance of its class type 'Test8', but is declared to return 'Test8_incomplete *'}}
245 // expected-warning{{method is expected to return an instance of its class type 'Test8', but is declared to return 'Test8_complete *'}}
249 // expected-warning{{method is expected to return an instance of its class type 'Test8', but is declared to return 'Test8_complete *'}}
251 // expected-warning{{method is expected to return an instance of its class type 'Test8', but is declared to return 'Test8_complete *'}}
547 @property (nonatomic, assign) __strong id a; // expected-error {{unsafe_unretained property 'a' may not also be declared __strong}}
551 @property (nonatomic, assign) __strong id b; // expected-error {{unsafe_unretained property 'b' may not also be declared __strong}}
636 @property (nonatomic, retain) id newName2 __attribute__((ns_returns_not_retained)); // expected-note {{roperty declared here}}
637 - (id) newName2; // expected-warning {{property declared as returning non-retained objects; getter returning retained objects}}