summaryrefslogtreecommitdiffstats
path: root/libcxx/src/hash.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2013-04-27 19:10:15 +0000
committerJoerg Sonnenberger <joerg@bec.de>2013-04-27 19:10:15 +0000
commitff3ce2bdc060ddddf358b054b819b1e762e69c2f (patch)
treec5699aec1fe757ddf7e04ab396b2763e4d78f723 /libcxx/src/hash.cpp
parente037a492f3c17f6c1fc66b4f4b1f3b9edb836f59 (diff)
downloadbcm5719-llvm-ff3ce2bdc060ddddf358b054b819b1e762e69c2f.tar.gz
bcm5719-llvm-ff3ce2bdc060ddddf358b054b819b1e762e69c2f.zip
Only use Clang pragma when compiling with clang.
llvm-svn: 180678
Diffstat (limited to 'libcxx/src/hash.cpp')
-rw-r--r--libcxx/src/hash.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/src/hash.cpp b/libcxx/src/hash.cpp
index 75e773a3a64..388ab2ebe17 100644
--- a/libcxx/src/hash.cpp
+++ b/libcxx/src/hash.cpp
@@ -12,7 +12,9 @@
#include "stdexcept"
#include "type_traits"
+#ifdef __clang__
#pragma clang diagnostic ignored "-Wtautological-constant-out-of-range-compare"
+#endif
_LIBCPP_BEGIN_NAMESPACE_STD
OpenPOWER on IntegriCloud