Lines Matching full:macos

4 #define AVAILABLE_10_0  __attribute__((availability(macos, introduced = 10.0)))
5 #define AVAILABLE_10_11 __attribute__((availability(macos, introduced = 10.11)))
6 #define AVAILABLE_10_12 __attribute__((availability(macos, introduced = 10.12)))
8 …{'new_int' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
10 …unc_10_11' has been marked as being introduced in macOS 10.11 here, but the deployment target is m…
13 …unc_10_12' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
15 …unc_10_12' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
20 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect…
22 if (@available(macos 10.11, *))
25 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect…
35 if (@available(macos 10.12, *)) {
36 if (@available(macos 10.10, *)) {
42 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
48 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect…
51 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect…
53 if (@available(macOS 10.11, *)) {
56 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
59 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
64 …int_10_11' has been marked as being introduced in macOS 10.11 here, but the deployment target is m…
66 …int_10_12' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
68 …int_10_12' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
71 …int_10_11 x; // expected-warning{{'int_10_11' is only available on macOS 10.11 or newer}} expected…
77 int_10_12 bar; // expected-warning {{'int_10_12' is only available on macOS 10.12 or newer}}
86 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
96 …if (@available(macos 10.20, *)) { // expected-note 2 {{jump enters controlled statement of if avai…
109 …bility(macos, introduced = 10.12))); // expected-note{{has been marked as being introduced in macO…
112macos, introduced = 10.12))); // expected-note{{'nested_member' has been marked as being introduce…
119 …(void)s.m2; // expected-warning{{'m2' is only available on macOS 10.12 or newer}} expected-note{{@…
121 …(void)s.n.nested_member; // expected-warning{{'nested_member' is only available on macOS 10.12 or …
126 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
129 if (@available(macos 10.12, *))
138 void test_params(int_10_12 x); // expected-warning {{'int_10_12' is only available on macOS 10.12 o…
143 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
144 if (@available(macos 10.12, *))
150 …rWithProp' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
152 …e{{'setX:' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
155 …int y = InterWithProp.x; // expected-warning{{'InterWithProp' is only available on macOS 10.12 or …
156 …op' is only available on macOS 10.12 or newer}} expected-note{{@available}} expected-warning{{'set…
161 …ubscript:' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
165 …id y = x[42]; // expected-warning{{'objectAtIndexedSubscript:' is only available on macOS 10.12 or…
169 …if (@available(macOS 10.12, *) || 0) // expected-warning {{@available does not guard availability …
170 func_10_12(); // expected-warning {{'func_10_12' is only available on macOS 10.12 or newer}}
175 …int availability = @available(macOS 10.12, *); // expected-warning {{@available does not guard ava…
184 if (@available(macos 10.12, *)) {
187 // expected-warning@#f_call {{'f' is only available on macOS 10.12 or newer}}
189 …_def {{'f' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
204 if (@available(macos 10.12, *))
207 …return func_10_12(); // expected-warning {{'func_10_12' is only available on macOS 10.12 or newer}…
211 if (@available(macos 10.12, *)) {
219 …attr<int>' has been marked as being introduced in macOS 10.11 here, but the deployment target is m…
224 if (@available(macos 10.12, *))
227 … // expected-warning {{'with_availability_attr<int>' is only available on macOS 10.11 or newer}} e…
231 if (@available(macOS 10.12, *))
234 …lity_attr<int>' is only available on macOS 10.11 or newer}} expected-warning{{'int_10_12' is only …
238 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
239 if (@available(macos 10.12, *))
244 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
247 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
251 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
254 …func_10_12(); // expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expect…
257 if (@available(macos 10.12, *)) {
271 if (@available(macos 10.12, *)) {
291 new_int mem; // expected-warning{{'new_int' is only available on macOS 10.12 or newer}}
293 …struct { new_int mem; } anon; // expected-warning{{'new_int' is only available on macOS 10.12 or n…
297 …exprValue' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
299 …onstexprValue // expected-warning{{'SomeConstexprValue' is only available on macOS 10.12 or newer}}
304 -(new_int)meth; // expected-warning{{'new_int' is only available on macOS 10.12 or newer}} expected…
315 if (@available(macos 10.12, *)) {
325 …wProtocol' has been marked as being introduced in macOS 10.12 here, but the deployment target is m…
330 …<NewProtocol> prop; // expected-warning {{'NewProtocol' is only available on macOS 10.12 or newer}}
346 …AK_Dodo __attribute__((availability(macos, deprecated=10.3))), // expected-note 3 {{marked depreca…
347 AK_Cat __attribute__((availability(macos, introduced=10.4))),
348macos, introduced=10.12))), // expected-note {{'AK_CyborgCat' has been marked as being introduced …
366 …(void)AK_CyborgCat; // expected-warning{{'AK_CyborgCat' is only available on macOS 10.12 or newer}…
377 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect…
390 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect…
402 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect…
408 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect…