• Home
  • Raw
  • Download

Lines Matching refs:unavailable

24 #define FOO __attribute__((unavailable("not available - replaced")))
52 enum UnavailableEnum { UE_A, UE_B } __attribute__((unavailable)); // expected-note {{'UnavailableEn…
53 __attribute__((unavailable)) typedef enum UnavailableEnum UnavailableEnum;
57 __attribute__((unavailable))
66 class __attribute((unavailable)) UnavailableClass; // \
67 expected-note 3{{'UnavailableClass' has been explicitly marked unavailable here}}
69 void unavail_class_marked(UnavailableClass&) __attribute__((unavailable));
71 template <class T> void unavail_class_marked(UnavailableClass&) __attribute__((unavailable));
76 void untemplated_marked(UnavailableClass &UC) __attribute__((unavailable)) { in untemplated_marked()
87 void unavail_templated_calls_bar() __attribute__((unavailable)) { // \ in unavail_templated_calls_bar()
92 void unavail_templated_calls_bar_arg(T v) __attribute__((unavailable)) { in unavail_templated_calls_bar_arg()
104 expected-error{{'unavail_templated_calls_bar<int>' is unavailable}} in calls_templates_which_call_bar()
107 expected-error{{'unavail_templated_calls_bar_arg<int>' is unavailable}} in calls_templates_which_call_bar()
110 template <class T> void unavail_templated(T) __attribute__((unavailable));
115 void unavail_calls_unavail_templated() __attribute__((unavailable)) { in unavail_calls_unavail_templated()
119 void unavailable() __attribute((unavailable));
122 void calls_unavailable() { unavailable(); } // \ in calls_unavailable()
123 expected-error{{'unavailable' is unavailable}}
124 template <class U> void calls_unavailable() { unavailable(); } // \ in calls_unavailable()
125 expected-error{{'unavailable' is unavailable}}
128 void calls_unavailable() { unavailable(); } // \ in calls_unavailable()
129 expected-error{{'unavailable' is unavailable}}
130 template <class U> void calls_unavailable() { unavailable(); } // \ in calls_unavailable()
131 expected-error{{'unavailable' is unavailable}}
133 struct __attribute__((unavailable)) UnavailableStruct {
134 void calls_unavailable() { unavailable(); } in calls_unavailable()
135 template <class U> void calls_unavailable() { unavailable(); } in calls_unavailable()
137 template <class T> struct __attribute__((unavailable)) UnavailableStructTemplated {
138 void calls_unavailable() { unavailable(); } in calls_unavailable()
139 template <class U> void calls_unavailable() { unavailable(); } in calls_unavailable()
142 int unavailable_int() __attribute__((unavailable)); // expected-note 2 {{'unavailable_int' has been…
147 int has_default_arg2(int x = unavailable_int()) __attribute__((unavailable)) { in has_default_arg2()
152 T unavailable_template() __attribute__((unavailable));
164 __attribute__((unavailable)) {} in has_default_arg_template2()
166 __attribute__((unavailable))
174 int phase_one_unavailable2(int x = unavailable_int()) __attribute__((unavailable)) {} in phase_one_unavailable2()