Skip to content

Commit fa23204

Browse files
committed
More cleanups. Add test.
1 parent 3e61227 commit fa23204

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

clang/lib/Basic/Targets/X86.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -851,16 +851,6 @@ class LLVM_LIBRARY_VISIBILITY UEFIX86_64TargetInfo
851851
"i64:64-i128:128-f80:128-n8:16:32:64-S128");
852852
}
853853

854-
CallingConvCheckResult checkCallingConvention(CallingConv CC) const override {
855-
switch (CC) {
856-
case CC_C:
857-
case CC_Win64:
858-
return CCCR_OK;
859-
default:
860-
return CCCR_Warning;
861-
}
862-
}
863-
864854
TargetInfo::CallingConvKind
865855
getCallingConvKind(bool ClangABICompat4) const override {
866856
return CCK_MicrosoftWin64;

clang/test/Preprocessor/init.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2835,6 +2835,7 @@
28352835
// RISCV64-LINUX: #define unix 1
28362836

28372837
// RUN: %clang_cc1 -dM -triple=x86_64-uefi -E /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
2838+
// RUN: %clang_cc1 -dM -triple=x86_64-unknown-uefi -E /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
28382839

28392840
// UEFI: #define __UEFI__ 1
28402841

0 commit comments

Comments
 (0)