Lines Matching refs:__attribute__
3 int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute only applies to …
4 void params(void) __attribute__((overloadable(12))); // expected-error {{'overloadable' attribute t…
6 int *f(int) __attribute__((overloadable)); // expected-note 2{{previous overload of function is her…
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…
67 f1_type __attribute__((overloadable)) f1; // expected-error{{'overloadable' function 'f1' must have…
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}} in local()
80 void before_local_3(char) __attribute__((overloadable)); in local()
82 void after_local_2(char) __attribute__((overloadable)); // expected-note {{here}} in local()
83 void after_local_3(char) __attribute__((overloadable)); in local()
85 void after_local_1(int) __attribute__((overloadable)); // expected-error {{conflicting types}}
87 void after_local_3(int) __attribute__((overloadable));
91 void foo(char *c) __attribute__((overloadable)); in conversions()
92 void foo(char *c) __attribute__((overloadable, enable_if(c, "nope.jpg"))); in conversions()
97 void multi_type(unsigned char *c) __attribute__((overloadable)); in conversions()
98 void multi_type(signed char *c) __attribute__((overloadable)); in conversions()