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:
@@ -9,7 +9,6 @@
|
||||
// RUN: %target-run %t/swift-functions-errors-execution | %FileCheck %s
|
||||
|
||||
// REQUIRES: executable_test
|
||||
// XFAIL: *
|
||||
|
||||
#include <cassert>
|
||||
#include "functions.h"
|
||||
@@ -24,4 +23,4 @@ int main() {
|
||||
}
|
||||
|
||||
// CHECK: passEmptyThrowFunction
|
||||
// CHECK-NEXT: passThrowFunction
|
||||
// CHECK-NEXT: passThrowFunction
|
||||
|
||||
Reference in New Issue
Block a user