Home
last modified time | relevance | path

Searched refs:SWIFTCALL (Results 1 – 4 of 4) sorted by relevance

/external/clang/test/SemaCXX/
Dattr-swiftcall.cpp3 #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 {{…
[all …]
/external/clang/test/Sema/
Dattr-swiftcall.c3 #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 unprototyped() SWIFTCALL; // expected-error {{function with no prototype cannot use the swiftc…
11 void multiple_ccs(int x) SWIFTCALL __attribute__((vectorcall)); // expected-error {{vectorcall and …
12 void (*functionPointer)(void) SWIFTCALL;
15 void indirect_result_bad_position(int first, INDIRECT_RESULT void *out) SWIFTCALL; // expected-erro…
16 void indirect_result_bad_type(INDIRECT_RESULT int out) SWIFTCALL; // expected-error {{'swift_indire…
17 void indirect_result_single(INDIRECT_RESULT void *out) SWIFTCALL;
18 void indirect_result_multiple(INDIRECT_RESULT void *out1, INDIRECT_RESULT void *out2) SWIFTCALL;
[all …]
/external/clang/test/CodeGen/
Darm-swiftcall.c6 #define SWIFTCALL __attribute__((swiftcall)) macro
15 SWIFTCALL void indirect_result_1(OUT int *arg0, OUT float *arg1) {} in indirect_result_1()
19 SWIFTCALL int indirect_result_2(OUT int *arg0, OUT float *arg1) { __builtin_unreachable(); } in indirect_result_2()
23 SWIFTCALL struct_reallybig indirect_result_3(OUT int *arg0, OUT float *arg1) { __builtin_unreachabl… in indirect_result_3()
26 SWIFTCALL void context_1(CONTEXT void *self) {} in context_1()
29 SWIFTCALL void context_2(void *arg0, CONTEXT void *self) {} in context_2()
32 SWIFTCALL void context_error_1(CONTEXT int *self, ERROR float **error) {} in context_error_1()
54 SWIFTCALL void context_error_2(short s, CONTEXT int *self, ERROR float **error) {} in context_error_2()
71 SWIFTCALL TYPE return_##TYPE(void) { \
75 SWIFTCALL void take_##TYPE(TYPE v) { \
/external/clang/test/CodeGenCXX/
Darm-swiftcall.cpp6 #define SWIFTCALL __attribute__((swiftcall)) macro
16 extern "C" SWIFTCALL TYPE return_##TYPE(void) { \
20 extern "C" SWIFTCALL void take_##TYPE(TYPE v) { \