File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ TargetInfo::TargetInfo(const llvm::Triple &T) : Triple(T) {
172
172
ComplexLongDoubleUsesFP2Ret = false ;
173
173
174
174
// Set the C++ ABI based on the triple.
175
- TheCXXABI.set (Triple.isKnownWindowsMSVCEnvironment ()
175
+ TheCXXABI.set (Triple.isKnownWindowsMSVCEnvironment () || Triple. isUEFI ()
176
176
? TargetCXXABI::Microsoft
177
177
: TargetCXXABI::GenericItanium);
178
178
Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -std=c++2a -fsyntax-only -triple x86_64-windows-msvc -fms-compatibility -fdump-record-layouts %s | FileCheck %s
2
+ // RUN: %clang_cc1 -std=c++2a -fsyntax-only -triple x86_64-uefi -fms-compatibility -fdump-record-layouts %s | FileCheck %s
2
3
3
4
namespace Empty {
4
5
struct A {};
Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -std=c++2a %s -verify=unsupported -triple x86_64-linux-gnu
2
2
// RUN: %clang_cc1 -std=c++2a %s -verify -triple x86_64-windows -fms-compatibility
3
+ // RUN: %clang_cc1 -std=c++2a %s -verify -triple x86_64-uefi -fms-compatibility
3
4
4
5
[[msvc::no_unique_address]] int a; // expected-error {{only applies to non-bit-field non-static data members}} unsupported-warning {{unknown}}
5
6
[[msvc::no_unique_address]] void f (); // expected-error {{only applies to non-bit-field non-static data members}} unsupported-warning {{unknown}}
You can’t perform that action at this time.
0 commit comments