[libcxx] r226411 - Cleaning up the test suite; remove some includes of non-standard file <__config>

Marshall Clow mclow.lists at gmail.com
Sun Jan 18 11:05:51 PST 2015


Author: marshall
Date: Sun Jan 18 13:05:51 2015
New Revision: 226411

URL: http://llvm.org/viewvc/llvm-project?rev=226411&view=rev
Log:
Cleaning up the test suite; remove some includes of non-standard file <__config>

Modified:
    libcxx/trunk/test/std/iterators/iterator.container/data.pass.cpp
    libcxx/trunk/test/std/iterators/iterator.container/empty.pass.cpp
    libcxx/trunk/test/std/iterators/iterator.container/size.pass.cpp
    libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp
    libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.fail.cpp
    libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.fail.cpp
    libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp
    libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp
    libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp
    libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp
    libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp
    libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.pass.cpp

Modified: libcxx/trunk/test/std/iterators/iterator.container/data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.container/data.pass.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.container/data.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.container/data.pass.cpp Sun Jan 18 13:05:51 2015
@@ -17,9 +17,6 @@
 int main () {}
 #else
 
-
-#include <__config>
-
 #include <iterator>
 #include <cassert>
 #include <vector>

Modified: libcxx/trunk/test/std/iterators/iterator.container/empty.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.container/empty.pass.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.container/empty.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.container/empty.pass.cpp Sun Jan 18 13:05:51 2015
@@ -16,9 +16,6 @@
 int main () {}
 #else
 
-
-#include <__config>
-
 #include <iterator>
 #include <cassert>
 #include <vector>

Modified: libcxx/trunk/test/std/iterators/iterator.container/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.container/size.pass.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.container/size.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.container/size.pass.cpp Sun Jan 18 13:05:51 2015
@@ -15,9 +15,6 @@
 int main () {}
 #else
 
-
-#include <__config>
-
 #include <iterator>
 #include <cassert>
 #include <vector>

Modified: libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp Sun Jan 18 13:05:51 2015
@@ -15,8 +15,6 @@
 // template <class E> reverse_iterator<const E*> rbegin(initializer_list<E> il);
 // template <class E> reverse_iterator<const E*> rend(initializer_list<E> il);
 
-#include <__config>
-
 #if __cplusplus >= 201103L
 #include <iterator>
 #include <cassert>

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.fail.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/basic.fail.cpp Sun Jan 18 13:05:51 2015
@@ -18,9 +18,7 @@
 //                    regex_constants::match_flag_type = 
 //                      regex_constants::match_default) = delete;
 
-#include <__config>
-
-#if _LIBCPP_STD_VER <= 11
+#if __cplusplus <= 201402L
 #error
 #else
 

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.fail.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.search/basic.fail.cpp Sun Jan 18 13:05:51 2015
@@ -18,9 +18,7 @@
 //                     regex_constants::match_flag_type = 
 //                       regex_constants::match_default) = delete;
 
-#include <__config>
-
-#if _LIBCPP_STD_VER <= 11
+#if __cplusplus <= 201402L
 #error
 #else
 

Modified: libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp Sun Jan 18 13:05:51 2015
@@ -17,9 +17,7 @@
 //                      regex_constants::match_flag_type m =
 //                        regex_constants::match_default) = delete;
 
-#include <__config>
-
-#if _LIBCPP_STD_VER <= 11
+#if __cplusplus <= 201402L
 #error
 #else
 

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp Sun Jan 18 13:05:51 2015
@@ -18,9 +18,7 @@
 //                      regex_constants::match_flag_type m =
 //                                              regex_constants::match_default);
 
-#include <__config>
-
-#if _LIBCPP_STD_VER <= 11
+#if __cplusplus <= 201402L
 #error
 #else
 

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp Sun Jan 18 13:05:51 2015
@@ -17,9 +17,7 @@
 //                      regex_constants::match_flag_type m =
 //                                              regex_constants::match_default);
 
-#include <__config>
-
-#if _LIBCPP_STD_VER <= 11
+#if __cplusplus <= 201402L
 #error
 #else
 

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp Sun Jan 18 13:05:51 2015
@@ -16,9 +16,7 @@
 //                      regex_constants::match_flag_type m =
 //                                              regex_constants::match_default);
 
-#include <__config>
-
-#if _LIBCPP_STD_VER <= 11
+#if __cplusplus <= 201402L
 #error
 #else
 

Modified: libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp (original)
+++ libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp Sun Jan 18 13:05:51 2015
@@ -18,9 +18,7 @@
 //                      regex_constants::match_flag_type m =
 //                                              regex_constants::match_default);
 
-#include <__config>
-
-#if _LIBCPP_STD_VER <= 11
+#if __cplusplus <= 201402L
 #error
 #else
 

Modified: libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.pass.cpp?rev=226411&r1=226410&r2=226411&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/unord.hash/enum.pass.cpp Sun Jan 18 13:05:51 2015
@@ -12,9 +12,7 @@
 // make sure that we can hash enumeration values
 // Not very portable
 
-#include <__config>
-
-#if _LIBCPP_STD_VER > 11
+#if __cplusplus >= 201402L
 
 #include <functional>
 #include <cassert>





More information about the cfe-commits mailing list