mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-18 21:24:32 -04:00
NativeFormatting.cpp: Fix build for mingw. Where would writePadding() be?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285509 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -179,7 +179,6 @@ void llvm::write_double(raw_ostream &S, double N, FloatStyle Style,
|
||||
// FIXME: It should be generic to C++11.
|
||||
if (N == 0.0 && std::signbit(N)) {
|
||||
const char *NegativeZero = "-0.000000e+00";
|
||||
writePadding(S, Width, strlen(NegativeZero));
|
||||
S << NegativeZero;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user