[libcxx-commits] [libcxx] 24ab578 - [libc++][test] Spell "TEST_CONSTEXPR_CXX17" correctly

Casey Carter via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 19 17:11:35 PDT 2020


Author: Casey Carter
Date: 2020-10-19T17:11:26-07:00
New Revision: 24ab5787b44435d0c7e805a8579753e48be9f5b9

URL: https://github.com/llvm/llvm-project/commit/24ab5787b44435d0c7e805a8579753e48be9f5b9
DIFF: https://github.com/llvm/llvm-project/commit/24ab5787b44435d0c7e805a8579753e48be9f5b9.diff

LOG: [libc++][test] Spell "TEST_CONSTEXPR_CXX17" correctly

These three algorithm tests are incorrectly using `_LIBCPP_CONSTEXPR_AFTER_CXX17` instead of `TEST_CONSTEXPR_CXX17`.

Added: 
    

Modified: 
    libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
    libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp
    libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
index 7e69c54797c8..44a075f5306c 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
@@ -26,7 +26,7 @@
 #include "test_iterators.h"
 
 template <class InIter, class OutIter>
-_LIBCPP_CONSTEXPR_AFTER_CXX17 bool
+TEST_CONSTEXPR_CXX17 bool
 test()
 {
     const unsigned N = 1000;

diff  --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp
index 5e1afe857cca..ec7371c6d24c 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp
@@ -25,7 +25,7 @@
 #include "test_iterators.h"
 
 template <class InIter, class OutIter>
-_LIBCPP_CONSTEXPR_AFTER_CXX17 bool
+TEST_CONSTEXPR_CXX17 bool
 test()
 {
     const unsigned N = 1000;

diff  --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp
index 2617f9a6a126..4424308ea04c 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp
@@ -24,7 +24,7 @@
 #include "test_iterators.h"
 
 template <class Iter>
-_LIBCPP_CONSTEXPR_AFTER_CXX17 bool
+TEST_CONSTEXPR_CXX17 bool
 test()
 {
     int ia[] = {0};


        


More information about the libcxx-commits mailing list