Fix whitespace, 80-column violations, embedded tabs for the
TargetInfo class. llvm-svn: 249872
This commit is contained in:
@@ -316,7 +316,9 @@ public:
|
||||
unsigned getLongLongAlign() const { return LongLongAlign; }
|
||||
|
||||
/// \brief Determine whether the __int128 type is supported on this target.
|
||||
virtual bool hasInt128Type() const { return getPointerWidth(0) >= 64; } // FIXME
|
||||
virtual bool hasInt128Type() const {
|
||||
return getPointerWidth(0) >= 64;
|
||||
} // FIXME
|
||||
|
||||
/// \brief Return the alignment that is suitable for storing any
|
||||
/// object with a fundamental alignment requirement.
|
||||
|
||||
@@ -3717,9 +3717,9 @@ public:
|
||||
};
|
||||
|
||||
static void addCygMingDefines(const LangOptions &Opts, MacroBuilder &Builder) {
|
||||
// Mingw and cygwin define __declspec(a) to __attribute__((a)). Clang supports
|
||||
// __declspec natively under -fms-extensions, but we define a no-op __declspec
|
||||
// macro anyway for pre-processor compatibility.
|
||||
// Mingw and cygwin define __declspec(a) to __attribute__((a)). Clang
|
||||
// supports __declspec natively under -fms-extensions, but we define a no-op
|
||||
// __declspec macro anyway for pre-processor compatibility.
|
||||
if (Opts.MicrosoftExt)
|
||||
Builder.defineMacro("__declspec", "__declspec");
|
||||
else
|
||||
@@ -4685,7 +4685,8 @@ public:
|
||||
Builder.defineMacro("__ARM_FEATURE_SIMD32", "1");
|
||||
|
||||
// ACLE 6.4.10 Hardware Integer Divide
|
||||
if (((HWDiv & HWDivThumb) && isThumb()) || ((HWDiv & HWDivARM) && !isThumb())) {
|
||||
if (((HWDiv & HWDivThumb) && isThumb()) ||
|
||||
((HWDiv & HWDivARM) && !isThumb())) {
|
||||
Builder.defineMacro("__ARM_FEATURE_IDIV", "1");
|
||||
Builder.defineMacro("__ARM_ARCH_EXT_IDIV__", "1");
|
||||
}
|
||||
@@ -4712,7 +4713,8 @@ public:
|
||||
Builder.defineMacro("__ARM_NEON__");
|
||||
// current AArch32 NEON implementations do not support double-precision
|
||||
// floating-point even when it is present in VFP.
|
||||
Builder.defineMacro("__ARM_NEON_FP", "0x" + llvm::utohexstr(HW_FP & ~HW_FP_DP));
|
||||
Builder.defineMacro("__ARM_NEON_FP",
|
||||
"0x" + llvm::utohexstr(HW_FP & ~HW_FP_DP));
|
||||
}
|
||||
|
||||
Builder.defineMacro("__ARM_SIZEOF_WCHAR_T",
|
||||
@@ -5879,7 +5881,8 @@ class SystemZTargetInfo : public TargetInfo {
|
||||
|
||||
public:
|
||||
SystemZTargetInfo(const llvm::Triple &Triple)
|
||||
: TargetInfo(Triple), CPU("z10"), HasTransactionalExecution(false), HasVector(false) {
|
||||
: TargetInfo(Triple), CPU("z10"), HasTransactionalExecution(false),
|
||||
HasVector(false) {
|
||||
IntMaxType = SignedLong;
|
||||
Int64Type = SignedLong;
|
||||
TLSSupported = true;
|
||||
|
||||
Reference in New Issue
Block a user