Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:FOO

3 int &foo(int); // expected-note {{candidate}}
4 double &foo(double); // expected-note {{candidate}}
5 void foo(...) __attribute__((__unavailable__)); // expected-note {{candidate function}} \
11 int &ir = foo(1);
12 double &dr = foo(1.0);
13 foo(sp); // expected-error{{call to unavailable function 'foo'}}
18 int &(*fp3)(int) = foo;
19 void (*fp4)(...) = foo; // expected-error{{'foo' is unavailable}}
24 #define FOO __attribute__((unavailable("not available - replaced")))
26 void foo() FOO; // expected-note {{candidate function has been explicitly made unavailable}}
28 foo(); // expected-error {{call to unavailable function 'foo': not available - replaced}}
35 int &ir = foo(1);
36 double &dr = foo(1.0);
37 foo(sp);
38 foo();