Lines Matching full:unavailable
4 …ble__("USE IFOO INSTEAD"))); // expected-note {{'foo' has been explicitly marked unavailable here}}
5 …ailable__("NO LONGER"))); // expected-note 2 {{'dfoo' has been explicitly marked unavailable here}}
7 void bar() __attribute__((__unavailable__)); // expected-note {{explicitly marked unavailable}}
15 int ir = foo(1); // expected-error {{'foo' is unavailable: USE IFOO INSTEAD}} in test_foo()
16 double dr = dfoo(1.0); // expected-error {{'dfoo' is unavailable: NO LONGER}} in test_foo()
18 void (*fp)() = &bar; // expected-error {{'bar' is unavailable}} in test_foo()
20 double (*fp4)(double) = dfoo; // expected-error {{'dfoo' is unavailable: NO LONGER}} in test_foo()
28 // No complains inside an unavailable function. in unavail()
42 enum fee { // expected-note {{'fee' has been explicitly marked unavailable here}}
43 r = 1, // expected-note {{'r' has been explicitly marked unavailable here}}
46 }__attribute__((unavailable()));
48 enum fee f() { // expected-error {{'fee' is unavailable}} in f()
53 return r; // expected-error {{'r' is unavailable}} in f()