[libcxx-commits] [libcxx] 674dbcf - [libc++][NFC] Use TEST_STD_VER instead of _LIBCPP_STD_VER in re.tokiter.comp/equal.pass.cpp

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 25 01:08:48 PST 2025


Author: Nikolas Klauser
Date: 2025-02-25T10:08:37+01:00
New Revision: 674dbcfe8f400db65f0d066ea638e977e8b82781

URL: https://github.com/llvm/llvm-project/commit/674dbcfe8f400db65f0d066ea638e977e8b82781
DIFF: https://github.com/llvm/llvm-project/commit/674dbcfe8f400db65f0d066ea638e977e8b82781.diff

LOG: [libc++][NFC] Use TEST_STD_VER instead of _LIBCPP_STD_VER in re.tokiter.comp/equal.pass.cpp

Added: 
    

Modified: 
    libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.comp/equal.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.comp/equal.pass.cpp b/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.comp/equal.pass.cpp
index ef0fd5cd111ad..9139207967d3c 100644
--- a/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.comp/equal.pass.cpp
+++ b/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.comp/equal.pass.cpp
@@ -19,9 +19,10 @@
 #include <regex>
 
 #include "test_comparisons.h"
+#include "test_macros.h"
 
 int main(int, char**) {
-#if _LIBCPP_STD_VER >= 20
+#if TEST_STD_VER >= 20
   AssertEqualityReturnBool<std::cregex_token_iterator>();
 
   {


        


More information about the libcxx-commits mailing list