summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Support/NativeFormatting.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/NativeFormatting.cpp b/llvm/lib/Support/NativeFormatting.cpp
index bbbb1fbbd4b0..dbfe658e87c2 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;
}