summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2016-03-28 11:13:03 +0000
committerHal Finkel <hfinkel@anl.gov>2016-03-28 11:13:03 +0000
commit29f5131dafb80384874c30a2dd1fdd99638560e1 (patch)
treea555ff402385099c53070a1352edbc60f9ac5b57 /llvm/lib/Support
parent2f5d8ff14ab80b4596181ee4765f74fde740b0d6 (diff)
downloadbcm5719-llvm-29f5131dafb80384874c30a2dd1fdd99638560e1.tar.gz
bcm5719-llvm-29f5131dafb80384874c30a2dd1fdd99638560e1.zip
C++11 is required, remove some preprocessor checks for it
We require C++11 to build, so remove a few remaining preprocessor checks for '__cplusplus >= 201103L'. This should always be true. llvm-svn: 264572
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/raw_ostream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp
index a201dff600b..275fe1d4945 100644
--- a/llvm/lib/Support/raw_ostream.cpp
+++ b/llvm/lib/Support/raw_ostream.cpp
@@ -230,7 +230,7 @@ raw_ostream &raw_ostream::operator<<(double N) {
// On MSVCRT and compatible, output of %e is incompatible to Posix
// by default. Number of exponent digits should be at least 2. "%+03d"
// FIXME: Implement our formatter to here or Support/Format.h!
-#if __cplusplus >= 201103L && defined(__MINGW32__)
+#if defined(__MINGW32__)
// FIXME: It should be generic to C++11.
if (N == 0.0 && std::signbit(N))
return *this << "-0.000000e+00";
OpenPOWER on IntegriCloud