OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ERROR_RESULT
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/Sema/
attr-swiftcall.c
5
#define
ERROR_RESULT
__attribute__((swift_error_result))
20
void error_result_nonswift(
ERROR_RESULT
void **error); // expected-error {{'swift_error_result' parameter can only be used with swiftcall calling convention}} expected-error{{'swift_error_result' parameter must follow 'swift_context' parameter}}
21
void error_result_bad_position(
ERROR_RESULT
void **error, int last) SWIFTCALL; // expected-error {{'swift_error_result' parameter must be last parameter of function}}
22
void error_result_bad_position2(int first,
ERROR_RESULT
void **error) SWIFTCALL; // expected-error {{'swift_error_result' parameter must follow 'swift_context' parameter}}
23
void error_result_bad_type(CONTEXT void *context,
ERROR_RESULT
int error) SWIFTCALL; // expected-error {{'swift_error_result' parameter must have pointer to unqualified pointer type; type here is 'int'}}
24
void error_result_bad_type2(CONTEXT void *context,
ERROR_RESULT
int *error) SWIFTCALL; // expected-error {{'swift_error_result' parameter must have pointer to unqualified pointer type; type here is 'int *'}}
25
void error_result_okay(int a, int b, CONTEXT void *context,
ERROR_RESULT
void **error) SWIFTCALL;
/external/clang/test/SemaCXX/
attr-swiftcall.cpp
5
#define
ERROR_RESULT
__attribute__((swift_error_result))
19
void error_result_nonswift(
ERROR_RESULT
void **error); // expected-error {{'swift_error_result' parameter can only be used with swiftcall calling convention}} expected-error{{'swift_error_result' parameter must follow 'swift_context' parameter}}
20
void error_result_bad_position(
ERROR_RESULT
void **error, int last) SWIFTCALL; // expected-error {{'swift_error_result' parameter must be last parameter of function}}
21
void error_result_bad_position2(int first,
ERROR_RESULT
void **error) SWIFTCALL; // expected-error {{'swift_error_result' parameter must follow 'swift_context' parameter}}
22
void error_result_bad_type(CONTEXT void *context,
ERROR_RESULT
int error) SWIFTCALL; // expected-error {{'swift_error_result' parameter must have pointer to unqualified pointer type; type here is 'int'}}
23
void error_result_bad_type2(CONTEXT void *context,
ERROR_RESULT
int *error) SWIFTCALL; // expected-error {{'swift_error_result' parameter must have pointer to unqualified pointer type; type here is 'int *'}}
24
void error_result_okay(int a, int b, CONTEXT void *context,
ERROR_RESULT
void **error) SWIFTCALL;
Completed in 615 milliseconds