[libcxx] r235999 - Fix some preprocessor directives that were generating warnings in the test suite.

Marshall Clow mclow.lists at gmail.com
Tue Apr 28 09:52:30 PDT 2015


Author: marshall
Date: Tue Apr 28 11:52:30 2015
New Revision: 235999

URL: http://llvm.org/viewvc/llvm-project?rev=235999&view=rev
Log:
Fix some preprocessor directives that were generating warnings in the test suite.

Modified:
    libcxx/trunk/test/libcxx/experimental/utilities/ratio/header.ratio.synop/includes.pass.cpp
    libcxx/trunk/test/libcxx/experimental/utilities/syserror/header.system_error.synop/includes.pass.cpp

Modified: libcxx/trunk/test/libcxx/experimental/utilities/ratio/header.ratio.synop/includes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/experimental/utilities/ratio/header.ratio.synop/includes.pass.cpp?rev=235999&r1=235998&r2=235999&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/experimental/utilities/ratio/header.ratio.synop/includes.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/experimental/utilities/ratio/header.ratio.synop/includes.pass.cpp Tue Apr 28 11:52:30 2015
@@ -13,7 +13,7 @@
 
 #include <experimental/ratio>
 
-#ifndef _LIBCPP_STD_VER > 11
+#if _LIBCPP_STD_VER > 11
 # ifndef _LIBCPP_RATIO
 #   error " <experimental/ratio> must include <ratio>"
 # endif

Modified: libcxx/trunk/test/libcxx/experimental/utilities/syserror/header.system_error.synop/includes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/experimental/utilities/syserror/header.system_error.synop/includes.pass.cpp?rev=235999&r1=235998&r2=235999&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/experimental/utilities/syserror/header.system_error.synop/includes.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/experimental/utilities/syserror/header.system_error.synop/includes.pass.cpp Tue Apr 28 11:52:30 2015
@@ -11,7 +11,7 @@
 
 #include <experimental/system_error>
 
-#ifndef _LIBCPP_STD_VER > 11
+#if _LIBCPP_STD_VER > 11
 # ifndef _LIBCPP_SYSTEM_ERROR
 #   error "<experimental/system_error> must include <system_error>"
 # endif





More information about the cfe-commits mailing list