• Home
  • Raw
  • Download

Lines Matching refs:unavailable

4 __attribute__((unavailable("not available")))
5 @interface MyClass { // expected-note 7 {{'MyClass' has been explicitly marked unavailable here}}
19 MyClass *ivar; // expected-error {{unavailable}}
21 - (MyClass *)meth; // expected-error {{unavailable}}
35 [MyClass new]; // expected-error {{'MyClass' is unavailable: not available}}
36 [MyClass self]; // expected-error {{'MyClass' is unavailable: not available}}
37 [MyClass addObject:((void *)0)]; // expected-error {{'MyClass' is unavailable: not available}}
39 MyClass *foo = [MyClass new]; // expected-error 2 {{'MyClass' is unavailable: not available}}
47 __attribute__((visibility("default"))) __attribute__((availability(macosx,unavailable)))
48 @interface Foo : NSObject @end // expected-note 3 {{'Foo' has been explicitly marked unavailable he…
57 Foo *foo = 0; // expected-error {{'Foo' is unavailable}}
62 Foo *g_foo = 0; // expected-error {{'Foo' is unavailable}}
67 Foo * f_func() { // expected-error {{'Foo' is unavailable}}
71 #define UNAVAILABLE __attribute__((unavailable("not available")))
74 @interface Base // expected-note {{unavailable here}}
78 @protocol SomeProto // expected-note 4 {{unavailable here}}
81 @interface Sub : Base<SomeProto> // expected-error 2 {{unavailable}}
83 @interface IP<SomeProto> // expected-error {{unavailable}}
85 @protocol SubProt<SomeProto> // expected-error {{unavailable}}
87 @interface Sub(cat)<SomeProto> // expected-error {{unavailable}}
118 …int UNAVAILABLE; // expected-note {{'unavailable_int' has been explicitly marked unavailable here}}
122 extern unavailable_int global_unavailable; // expected-error {{'unavailable_int' is unavailable: no…