[llvm] r285509 - NativeFormatting.cpp: Fix build for mingw. Where would writePadding() be?
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 29 16:14:18 PDT 2016
Author: chapuni
Date: Sat Oct 29 18:14:18 2016
New Revision: 285509
URL: http://llvm.org/viewvc/llvm-project?rev=285509&view=rev
Log:
NativeFormatting.cpp: Fix build for mingw. Where would writePadding() be?
Modified:
llvm/trunk/lib/Support/NativeFormatting.cpp
Modified: llvm/trunk/lib/Support/NativeFormatting.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/NativeFormatting.cpp?rev=285509&r1=285508&r2=285509&view=diff
==============================================================================
--- llvm/trunk/lib/Support/NativeFormatting.cpp (original)
+++ llvm/trunk/lib/Support/NativeFormatting.cpp Sat Oct 29 18:14:18 2016
@@ -179,7 +179,6 @@ void llvm::write_double(raw_ostream &S,
// 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;
}
More information about the llvm-commits
mailing list