Lines Matching refs:method

14 - (void)method __attribute__((availability(macosx,introduced=10.1,deprecated=10.2))); // expected-n…
20 …_attribute__((availability(macosx,introduced=10.3))); // expected-note{{overridden method is here}}
23 …_attribute__((availability(macosx,deprecated=10.3))); // expected-note{{overridden method is here}}
25 …_attribute__((availability(macosx,introduced=10.3))); // expected-note{{overridden method is here}}
30 - (void)method; // NOTE: we expect 'method' to *not* inherit availability. method
32 …osx,introduced=10.4))); // expected-warning{{overriding method introduced after overridden method
35 …sx,deprecated=10.2))); // expected-warning{{overriding method deprecated before overridden method
37 …ailable))); // expected-warning{{overriding method cannot be unavailable on macOS when its overrid…
42 [a method]; // expected-warning{{'method' is deprecated: first deprecated in macOS 10.2}}
43 [b method]; // no-warning
77 // Warn about using a deprecated method when that method is re-implemented in a
78 // subclass where the redeclared method is not deprecated.
80 - (void) method __attribute__((availability(macosx,introduced=10.1,deprecated=10.2))); // expected-…
84 - (void) method; method
88 - (void) method; method
92 - (void) method { method
93 [super method]; // expected-warning {{'method' is deprecated: first deprecated in macOS 10.2}}
98 - (void) method { method
99 [super method]; // no-warning
296 -(void)method __attribute__((unavailable)); // expected-note{{'method' has been explicitly marked u…
300 -(void)method; method
304 -(void)method { method
306 [obj method]; // expected-error{{'method' is unavailable}}