Author: ericwf
Date: Mon Jun 13 22:26:11 2016
New Revision: 272632

URL: http://llvm.org/viewvc/llvm-project?rev=272632&view=rev
Log:
Ignore depricated warnings from <ext/hash_map> and <ext/hash_set>

Modified:
    libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp
    libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp

Modified: libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp?rev=272632&r1=272631&r2=272632&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp Mon Jun 13 
22:26:11 2016
@@ -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 {

Modified: libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp?rev=272632&r1=272631&r2=272632&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp Mon Jun 13 
22:26:11 2016
@@ -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 {


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to