summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/NativeFormatting.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-10-29 23:14:18 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-10-29 23:14:18 +0000
commitff76cfefc0b105d821b39697280d1ab05da6b80b (patch)
tree0abb5343e112b8dbd2186f835e0270310db0bf7f /llvm/lib/Support/NativeFormatting.cpp
parent38d4df714c98f6ead02221e17bf6cbb9e2fdc87b (diff)
downloadbcm5719-llvm-ff76cfefc0b105d821b39697280d1ab05da6b80b.tar.gz
bcm5719-llvm-ff76cfefc0b105d821b39697280d1ab05da6b80b.zip
NativeFormatting.cpp: Fix build for mingw. Where would writePadding() be?
llvm-svn: 285509
Diffstat (limited to 'llvm/lib/Support/NativeFormatting.cpp')
-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 bbbb1fbbd4b..dbfe658e87c 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;
}
OpenPOWER on IntegriCloud