From ff76cfefc0b105d821b39697280d1ab05da6b80b Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sat, 29 Oct 2016 23:14:18 +0000 Subject: [PATCH] NativeFormatting.cpp: Fix build for mingw. Where would writePadding() be? llvm-svn: 285509 --- llvm/lib/Support/NativeFormatting.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Support/NativeFormatting.cpp b/llvm/lib/Support/NativeFormatting.cpp index bbbb1fb..dbfe658 100644 --- a/llvm/lib/Support/NativeFormatting.cpp +++ b/llvm/lib/Support/NativeFormatting.cpp @@ -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; } -- 2.7.4