Author: compnerd
Date: Fri Feb 10 00:51:19 2017
New Revision: 294719

URL: http://llvm.org/viewvc/llvm-project?rev=294719&view=rev
Log:
test: fix test under Windows

When running the test under clang-cl, we do not report `__GNUC__`, which
is needed to supress the warnings which are being treated as errors.

Modified:
    libcxx/trunk/test/libcxx/containers/associative/undef_min_max.pass.cpp

Modified: libcxx/trunk/test/libcxx/containers/associative/undef_min_max.pass.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/containers/associative/undef_min_max.pass.cpp?rev=294719&r1=294718&r2=294719&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/containers/associative/undef_min_max.pass.cpp 
(original)
+++ libcxx/trunk/test/libcxx/containers/associative/undef_min_max.pass.cpp Fri 
Feb 10 00:51:19 2017
@@ -7,7 +7,7 @@
 //
 
//===----------------------------------------------------------------------===//
 
-#if defined(__GNUC__)
+#if defined(__GNUC__) || defined(__clang__)
 #pragma GCC diagnostic ignored "-W#warnings"
 #endif
 


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

Reply via email to