Lines Matching full:unavailable
24 - (void)overridden5 __attribute__((availability(macosx,unavailable)));
26 - (void)unavailableMethod __attribute__((unavailable));
38 - (void)overridden6 __attribute__((availability(macosx,unavailable))); // expected-warning{{overriding method cannot be unavailable on OS X when its overridden method is available}}
199 #define UNAVAILABLE __attribute__((unavailable("not available")))
202 enum MyEnum : int { // expected-note {{'MyEnum' has been explicitly marked unavailable here}}
203 MyEnum_Blah UNAVAILABLE, // expected-note {{'MyEnum_Blah' has been explicitly marked unavailable here}}
204 } UNAVAILABLE;
207 // expected-error@+2 {{'MyEnum' is unavailable: not available}}
208 // expected-error@+1 {{MyEnum_Blah' is unavailable: not available}}
218 -(void)methodB __attribute__((unavailable)); // expected-note 4{{'methodB' has been explicitly marked unavailable here}}
224 [obj methodB]; // expected-error{{'methodB' is unavailable}}
246 [obj methodB]; // expected-error{{'methodB' is unavailable}}
252 [obj methodB]; // expected-error{{'methodB' is unavailable}}
261 [obj methodB]; // expected-error{{'methodB' is unavailable}}
267 -(void)methodB __attribute__((unavailable));
278 -(void)methodB __attribute__((unavailable)) {
284 -(void)method __attribute__((unavailable)); // expected-note{{'method' has been explicitly marked unavailable here}}
294 [obj method]; // expected-error{{'method' is unavailable}}