• Home
  • Raw
  • Download

Lines Matching refs:SWIFTCALL

3 #define SWIFTCALL __attribute__((swiftcall))  macro
8 int notAFunction SWIFTCALL; // expected-warning {{'swiftcall' only applies to function types; type … variable
9 void variadic(int x, ...) SWIFTCALL; // expected-error {{variadic function cannot use swiftcall cal…
10 void multiple_ccs(int x) SWIFTCALL __attribute__((vectorcall)); // expected-error {{vectorcall and …
11 void (*functionPointer)(void) SWIFTCALL;
14 void indirect_result_bad_position(int first, INDIRECT_RESULT void *out) SWIFTCALL; // expected-erro…
15 void indirect_result_bad_type(INDIRECT_RESULT int out) SWIFTCALL; // expected-error {{'swift_indire…
16 void indirect_result_single(INDIRECT_RESULT void *out) SWIFTCALL;
17 void indirect_result_multiple(INDIRECT_RESULT void *out1, INDIRECT_RESULT void *out2) SWIFTCALL;
20 void error_result_bad_position(ERROR_RESULT void **error, int last) SWIFTCALL; // expected-error {{…
21 void error_result_bad_position2(int first, ERROR_RESULT void **error) SWIFTCALL; // expected-error …
22 void error_result_bad_type(CONTEXT void *context, ERROR_RESULT int error) SWIFTCALL; // expected-er…
23 void error_result_bad_type2(CONTEXT void *context, ERROR_RESULT int *error) SWIFTCALL; // expected-…
24 void error_result_okay(int a, int b, CONTEXT void *context, ERROR_RESULT void **error) SWIFTCALL;
27 void context_bad_position(CONTEXT void *context, int x) SWIFTCALL; // expected-error {{'swift_conte…
28 void context_bad_type(CONTEXT int context) SWIFTCALL; // expected-error {{'swift_context' parameter…
29 void context_okay(CONTEXT void *context) SWIFTCALL;
31 template <class T> void indirect_result_temp_okay1(INDIRECT_RESULT T *out) SWIFTCALL;
32 template <class T> void indirect_result_temp_okay2(INDIRECT_RESULT T out) SWIFTCALL; // expected-no…