Home | History | Annotate | Download | only in Sema

Lines Matching full:void

3 void __attribute__((fastcall)) foo(float *a) { 
6 void __attribute__((stdcall)) bar(float *a) {
9 void __attribute__((fastcall(1))) baz(float *a) { // expected-error {{attribute takes no arguments}}
12 void __attribute__((fastcall)) test0() { // expected-error {{function with no prototype cannot use fastcall calling convention}}
15 void __attribute__((fastcall)) test1(void) {
18 void __attribute__((fastcall)) test2(int a, ...) { // expected-error {{variadic function cannot use fastcall calling convention}}
21 void __attribute__((cdecl)) ctest0() {}
23 void __attribute__((cdecl(1))) ctest1(float x) {} // expected-error {{attribute takes no arguments}}
25 void (__attribute__((fastcall)) *pfoo)(float*) = foo;
27 void (__attribute__((stdcall)) *pbar)(float*) = bar;
29 void (__attribute__((cdecl)) *ptest1)(void) = test1; // expected-warning {{incompatible pointer types}}
31 void (*pctest0)() = ctest0;
33 void ctest2() {}
34 void (__attribute__((cdecl)) *pctest2)() = ctest2;
36 typedef void (__attribute__((fastcall)) *Handler) (float *);
40 void ctest3();
41 void __attribute__((cdecl)) ctest3() {}
44 typedef __attribute__((stdcall)) void (*PROC)();