summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-06-14 03:26:11 +0000
committerEric Fiselier <eric@efcs.ca>2016-06-14 03:26:11 +0000
commit10e3d1764a096ca802f65a5bbb9115a75f3d8a83 (patch)
tree8158cf4d67f3061483b75f4261107ab9f0cfb451 /libcxx/test
parent81a88beec4f8f4ca4e3dacf652231669c9a947fe (diff)
downloadbcm5719-llvm-10e3d1764a096ca802f65a5bbb9115a75f3d8a83.tar.gz
bcm5719-llvm-10e3d1764a096ca802f65a5bbb9115a75f3d8a83.zip
Ignore depricated warnings from <ext/hash_map> and <ext/hash_set>
llvm-svn: 272632
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp5
-rw-r--r--libcxx/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp5
2 files changed, 10 insertions, 0 deletions
diff --git a/libcxx/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp b/libcxx/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp
index 52433d2f9c4..0d9115d0f69 100644
--- a/libcxx/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp
+++ b/libcxx/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp
@@ -7,6 +7,11 @@
//
//===----------------------------------------------------------------------===//
+// Prevent emission of the deprecated warning.
+#ifdef __clang__
+#pragma clang diagnostic ignored "-W#warnings"
+#endif
+
#include <ext/hash_map>
namespace __gnu_cxx {
diff --git a/libcxx/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp b/libcxx/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp
index dc127e92095..5fd4bde66e0 100644
--- a/libcxx/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp
+++ b/libcxx/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp
@@ -7,6 +7,11 @@
//
//===----------------------------------------------------------------------===//
+// Prevent emission of the deprecated warning.
+#ifdef __clang__
+#pragma clang diagnostic ignored "-W#warnings"
+#endif
+
#include <ext/hash_set>
namespace __gnu_cxx {
OpenPOWER on IntegriCloud