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

@@ -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