Lines Matching refs:method
14 - (void)method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expected-n…
16 …_attribute__((availability(macosx,introduced=10_3))); // expected-note{{overridden method is here}}
19 …_attribute__((availability(macosx,deprecated=10_3))); // expected-note{{overridden method is here}}
21 …_attribute__((availability(macosx,introduced=10_3))); // expected-note{{overridden method is here}}
25 - (void)method; // NOTE: we expect 'method' to *not* inherit availability. method
26 …osx,introduced=10_4))); // expected-warning{{overriding method introduced after overridden method …
29 …sx,deprecated=10_2))); // expected-warning{{overriding method deprecated before overridden method …
31 …ailable))); // expected-warning{{overriding method cannot be unavailable on macOS when its overrid…
35 [a method]; // expected-warning{{'method' is deprecated: first deprecated in macOS 10.2}}
36 [b method]; // no-warning
41 // Warn about using a deprecated method when that method is re-implemented in a
42 // subclass where the redeclared method is not deprecated.
44 - (void) method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expected-…
48 - (void) method; method
52 - (void) method; method
56 - (void) method { method
57 [super method]; // expected-warning {{'method' is deprecated: first deprecated in macOS 10.2}}
62 - (void) method { method
63 [super method]; // no-warning