• Home
  • Raw
  • Download

Lines Matching refs:__attribute__

3 void __attribute__((fastcall)) foo(float *a) {  in foo()
6 void __attribute__((stdcall)) bar(float *a) { in bar()
9 void __attribute__((fastcall(1))) baz(float *a) { // expected-error {{'fastcall' attribute takes no… in baz()
12 void __attribute__((fastcall)) test0() { // expected-error {{function with no prototype cannot use … in test0()
15 void __attribute__((fastcall)) test1(void) { in test1()
18 void __attribute__((fastcall)) test2(int a, ...) { // expected-error {{variadic function cannot use… in test2()
21 void __attribute__((cdecl)) ctest0() {} in ctest0()
23 void __attribute__((cdecl(1))) ctest1(float x) {} // expected-error {{'cdecl' attribute takes no ar… in ctest1()
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 typ…
34 void (__attribute__((cdecl)) *pctest2)() = ctest2;
36 typedef void (__attribute__((fastcall)) *Handler) (float *);
39 int __attribute__((pcs("aapcs", "aapcs"))) pcs1(void); // expected-error {{'pcs' attribute takes on…
40 int __attribute__((pcs())) pcs2(void); // expected-error {{'pcs' attribute takes one argument}}
41 int __attribute__((pcs(pcs1))) pcs3(void); // expected-error {{'pcs' attribute takes one argument}}
42 int __attribute__((pcs(0))) pcs4(void); // expected-error {{'pcs' attribute requires a string}}
44 int __attribute__((pcs("aapcs"))) pcs5(void); // expected-warning {{calling convention 'pcs' ignore…
45 int __attribute__((pcs("aapcs-vfp"))) pcs6(void); // expected-warning {{calling convention 'pcs' ig…
46 int __attribute__((pcs("foo"))) pcs7(void); // expected-error {{invalid PCS type}}
50 void __attribute__((cdecl)) ctest3() {} in ctest3()
53 typedef __attribute__((stdcall)) void (*PROC)();
54 PROC __attribute__((cdecl)) ctest4(const char *x) {} in ctest4()
56 void __attribute__((pnaclcall)) pnaclfunc(float *a) {} // expected-warning {{calling convention 'pn… in pnaclfunc()
58 void __attribute__((intel_ocl_bicc)) inteloclbifunc(float *a) {} in inteloclbifunc()