Setting hardcode SWIFT_NOEXCEPT and noexcept flags only to

non-throwing functions.
Activating swift-functions-errors tests
Inserting macros and additional parameters in C and C++ functions following the pattern to lowering to LLVM IR.
This commit is contained in:
Roberto Rosmaninho
2022-06-22 13:58:58 -03:00
parent d128d81ea5
commit ff222acebc
11 changed files with 153 additions and 35 deletions

View File

@@ -80,6 +80,7 @@
// CHECK-LABEL: # define SWIFT_CALL __attribute__((swiftcall))
// CHECK: # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
// CHECK: # define SWIFT_CONTEXT __attribute__((swift_context))
// CHECK: # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
// CHECK-LABEL: #if defined(__OBJC__)
// CHECK-NEXT: #if __has_feature(modules)