mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user