Lines Matching +full:macos +full:- +full:10
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin9.0.0 -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -x objective-c++ -std=c++11 -triple x86_64-apple-darwin9.0.0 -fsyntax-only -veri…
3 // RUN: %clang_cc1 -x objective-c++ -std=c++03 -triple x86_64-apple-darwin9.0.0 -fsyntax-only -veri…
11 - (void)proto_method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expe…
15 - (void)method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expected-n…
17 - (void)overridden __attribute__((availability(macosx,introduced=10_3))); // expected-note{{overrid…
18 - (void)overridden2 __attribute__((availability(macosx,introduced=10_3)));
19 - (void)overridden3 __attribute__((availability(macosx,deprecated=10_3)));
20 - (void)overridden4 __attribute__((availability(macosx,deprecated=10_3))); // expected-note{{overri…
21 - (void)overridden5 __attribute__((availability(macosx,unavailable)));
22 - (void)overridden6 __attribute__((availability(macosx,introduced=10_3))); // expected-note{{overri…
27 - (void)method; // NOTE: we expect 'method' to *not* inherit availability.
28 - (void)overridden __attribute__((availability(macosx,introduced=10_4))); // expected-warning{{over…
29 - (void)overridden2 __attribute__((availability(macosx,introduced=10_2)));
30 - (void)overridden3 __attribute__((availability(macosx,deprecated=10_4)));
31 - (void)overridden4 __attribute__((availability(macosx,deprecated=10_2))); // expected-warning{{ove…
32 - (void)overridden5 __attribute__((availability(macosx,introduced=10_3)));
33 - (void)overridden6 __attribute__((availability(macosx,unavailable))); // expected-warning{{overrid…
37 [a method]; // expected-warning{{'method' is deprecated: first deprecated in macOS 10.2}}
38 [b method]; // no-warning
39 …[a proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in macOS 10.…
40 …[b proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in macOS 10.…
44 // using a deprecated method when that method is re-implemented in a
47 - (void) method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expected-…
51 - (void) method;
55 - (void) method;
59 - (void) method {
60 [super method]; // expected-warning {{'method' is deprecated: first deprecated in macOS 10.2}}
65 - (void) method {
66 [super method]; // no-warning
79 …NSNibTopLevelObjects __attribute__((availability(macosx,introduced=10_0 ,deprecated=10_8,message="…
82 @interface AppDelegate (SIEImport) // expected-error {{cannot find interface declaration for 'AppDe…
84 -(void)__attribute__((ibaction))importFromSIE:(id)sender;
88 @implementation AppDelegate (SIEImport) // expected-error {{cannot find interface declaration for '…
90 -(void)__attribute__((ibaction))importFromSIE:(id)sender {
99 - (void)Meth1 __attribute__((availability(macosx,introduced=10.3_0))); // expected-warning {{use sa…
100 - (void)Meth2 __attribute__((availability(macosx,introduced=10_3.1))); // expected-warning {{use sa…
105 - (void)proto_method __attribute__((availability(macosx,introduced=10_1,deprecated=NA))); // means …
109 - (void)interface_method __attribute__((availability(macosx,introduced=NA))); // expected-note {{'i…
110 - (void)strange_method __attribute__((availability(macosx,introduced=NA,deprecated=NA))); // expec…
111 - (void) always_available __attribute__((availability(macosx,deprecated=NA)));
115 …[pa interface_method]; // expected-error {{'interface_method' is unavailable: not available on mac…
117 [pa strange_method]; // expected-error {{'strange_method' is unavailable: not available on macOS}}