File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -344,11 +344,12 @@ class LLVM_LIBRARY_VISIBILITY X86TargetInfo : public TargetInfo {
344
344
case CC_C:
345
345
case CC_PreserveMost:
346
346
case CC_Swift:
347
- case CC_SwiftAsync:
348
347
case CC_X86Pascal:
349
348
case CC_IntelOclBicc:
350
349
case CC_OpenCLKernel:
351
350
return CCCR_OK;
351
+ case CC_SwiftAsync:
352
+ return CCCR_Error;
352
353
default :
353
354
return CCCR_Warning;
354
355
}
Original file line number Diff line number Diff line change 3
3
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -o - %s | FileCheck %s
4
4
// RUN: %clang_cc1 -triple armv7s-apple-ios9 -emit-llvm -o - %s | FileCheck %s
5
5
// RUN: %clang_cc1 -triple armv7k-apple-ios9 -emit-llvm -o - %s | FileCheck %s
6
- // RUN: %clang_cc1 -triple i386-apple-watchos2 -emit-llvm -o - %s | FileCheck %s
7
6
8
7
// RUN: %clang_cc1 -x c++ -triple x86_64-apple-darwin10 -target-cpu core2 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
9
8
// RUN: %clang_cc1 -x c++ -triple arm64-apple-ios9 -target-cpu cyclone -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
10
9
// RUN: %clang_cc1 -x c++ -triple armv7-apple-darwin9 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
11
10
// RUN: %clang_cc1 -x c++ -triple armv7s-apple-ios9 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
12
11
// RUN: %clang_cc1 -x c++ -triple armv7k-apple-ios9 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
13
- // RUN: %clang_cc1 -x c++ -triple i386-apple-watchos2 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
14
12
15
13
// Test tail call behavior when a swiftasynccall function is called
16
14
// from another swiftasynccall function.
You can’t perform that action at this time.
0 commit comments