Skip to content

Commit afdf295

Browse files
committed
Remove floating point types. Format code
1 parent e92e603 commit afdf295

File tree

1 file changed

+6
-6
lines changed
  • clang/lib/Basic/Targets

1 file changed

+6
-6
lines changed

clang/lib/Basic/Targets/X86.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -836,11 +836,11 @@ class LLVM_LIBRARY_VISIBILITY UEFIX86_64TargetInfo
836836
UEFIX86_64TargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
837837
: UEFITargetInfo<X86_64TargetInfo>(Triple, Opts) {
838838
// The UEFI spec does not mandate specific C++ ABI, integer widths, or
839-
// alignment. We are setting these defaults to match the Windows target as it
840-
// is the only way to build EFI applications with Clang/LLVM today. We intend
841-
// to offer flexibility by supporting choices that are not default in Windows
842-
// target in the future.
843-
839+
// alignment. We are setting these defaults to match the Windows target as
840+
// it is the only way to build EFI applications with Clang/LLVM today. We
841+
// intend to offer flexibility by supporting choices that are not default in
842+
// Windows target in the future.
843+
844844
// Set C++ ABI.
845845
this->TheCXXABI.set(TargetCXXABI::Microsoft);
846846
// Set Integer types and alignment.
@@ -852,7 +852,7 @@ class LLVM_LIBRARY_VISIBILITY UEFIX86_64TargetInfo
852852
WCharType = UnsignedShort;
853853
WIntType = UnsignedShort;
854854
LongWidth = LongAlign = 32;
855-
DoubleAlign = LongLongAlign = 64;
855+
856856
this->resetDataLayout("e-m:w-p270:32:32-p271:32:32-p272:64:64-"
857857
"i64:64-i128:128-f80:128-n8:16:32:64-S128");
858858
}

0 commit comments

Comments
 (0)