Lines Matching full:__attribute__
3 int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute only applies to functions}}
4 void params(void) __attribute__((overloadable(12))); // expected-error {{'overloadable' attribute takes no arguments}}
6 int *f(int) __attribute__((overloadable)); // expected-note 2{{previous overload of function is here}}
10 double *f(double) __attribute__((overloadable)); // okay, new
18 int *accept_funcptr(int (*)()) __attribute__((overloadable)); // \
20 float *accept_funcptr(int (*)(int, double)) __attribute__((overloadable)); // \
31 int* accept_struct(struct X x) __attribute__((__overloadable__));
32 float* accept_struct(struct Y y) __attribute__((overloadable));
39 double *f(int) __attribute__((overloadable)); // expected-error{{conflicting types for 'f'}}
41 double promote(float) __attribute__((__overloadable__)); // expected-note {{candidate}}
42 double promote(double) __attribute__((__overloadable__)); // expected-note {{candidate}}
43 long double promote(long double) __attribute__((__overloadable__)); // expected-note {{candidate}}
45 void promote(...) __attribute__((__overloadable__, __unavailable__)); // \
55 typedef Double DoubleVec __attribute__((vector_size(16)));
57 typedef Int IntVec __attribute__((vector_size(16)));
58 double magnitude(DoubleVec) __attribute__((__overloadable__));
59 double magnitude(IntVec) __attribute__((__overloadable__));
65 extern int __attribute__((overloadable)) f0(); // expected-error{{'overloadable' function 'f0' must have a prototype}}
67 f1_type __attribute__((overloadable)) f1; // expected-error{{'overloadable' function 'f1' must have a prototype}}
74 void before_local_1(int) __attribute__((overloadable)); // expected-note {{here}}
76 void before_local_3(int) __attribute__((overloadable));
79 void before_local_2(char) __attribute__((overloadable)); // expected-error {{conflicting types}}
80 void before_local_3(char) __attribute__((overloadable));
82 void after_local_2(char) __attribute__((overloadable)); // expected-note {{here}}
83 void after_local_3(char) __attribute__((overloadable));
85 void after_local_1(int) __attribute__((overloadable)); // expected-error {{conflicting types}}
87 void after_local_3(int) __attribute__((overloadable));