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:
NAKAMURA Takumi
2016-10-29 23:14:18 +00:00
parent 8108a04696
commit 37111b28b6
-1
View File
@@ -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;
}