diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-14 03:26:11 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-14 03:26:11 +0000 |
commit | 10e3d1764a096ca802f65a5bbb9115a75f3d8a83 (patch) | |
tree | 8158cf4d67f3061483b75f4261107ab9f0cfb451 /libcxx/test | |
parent | 81a88beec4f8f4ca4e3dacf652231669c9a947fe (diff) | |
download | bcm5719-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.cpp | 5 | ||||
-rw-r--r-- | libcxx/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp | 5 |
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 { |