Index: libcxx/include/version =================================================================== --- libcxx/include/version +++ libcxx/include/version @@ -120,7 +120,7 @@ __cpp_lib_parallel_algorithm 201603L __cpp_lib_polymorphic_allocator 201902L __cpp_lib_quoted_string_io 201304L -__cpp_lib_ranges 201811L +__cpp_lib_ranges 201911L __cpp_lib_raw_memory_algorithms 201606L __cpp_lib_remove_cvref 201711L @@ -337,7 +337,7 @@ # define __cpp_lib_math_constants 201907L # endif // # define __cpp_lib_polymorphic_allocator 201902L -// # define __cpp_lib_ranges 201811L +// # define __cpp_lib_ranges 201911L # define __cpp_lib_remove_cvref 201711L # if !defined(_LIBCPP_HAS_NO_THREADS) && !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_semaphore) # define __cpp_lib_semaphore 201907L Index: libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp =================================================================== --- libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp +++ libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp @@ -22,7 +22,7 @@ __cpp_lib_make_reverse_iterator 201402L [C++14] __cpp_lib_nonmember_container_access 201411L [C++17] __cpp_lib_null_iterators 201304L [C++14] - __cpp_lib_ranges 201811L [C++20] + __cpp_lib_ranges 201911L [C++20] __cpp_lib_ssize 201902L [C++20] */ @@ -178,8 +178,8 @@ # ifndef __cpp_lib_ranges # error "__cpp_lib_ranges should be defined in c++20" # endif -# if __cpp_lib_ranges != 201811L -# error "__cpp_lib_ranges should have the value 201811L in c++20" +# if __cpp_lib_ranges != 201911L +# error "__cpp_lib_ranges should have the value 201911L in c++20" # endif # else // _LIBCPP_VERSION # ifdef __cpp_lib_ranges @@ -235,8 +235,8 @@ # ifndef __cpp_lib_ranges # error "__cpp_lib_ranges should be defined in c++2b" # endif -# if __cpp_lib_ranges != 201811L -# error "__cpp_lib_ranges should have the value 201811L in c++2b" +# if __cpp_lib_ranges != 201911L +# error "__cpp_lib_ranges should have the value 201911L in c++2b" # endif # else // _LIBCPP_VERSION # ifdef __cpp_lib_ranges Index: libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp =================================================================== --- libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp +++ libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp @@ -18,7 +18,7 @@ // Test the feature test macros defined by /* Constant Value - __cpp_lib_ranges 201811L [C++20] + __cpp_lib_ranges 201911L [C++20] */ #include @@ -48,8 +48,8 @@ # ifndef __cpp_lib_ranges # error "__cpp_lib_ranges should be defined in c++20" # endif -# if __cpp_lib_ranges != 201811L -# error "__cpp_lib_ranges should have the value 201811L in c++20" +# if __cpp_lib_ranges != 201911L +# error "__cpp_lib_ranges should have the value 201911L in c++20" # endif # else // _LIBCPP_VERSION # ifdef __cpp_lib_ranges @@ -63,8 +63,8 @@ # ifndef __cpp_lib_ranges # error "__cpp_lib_ranges should be defined in c++2b" # endif -# if __cpp_lib_ranges != 201811L -# error "__cpp_lib_ranges should have the value 201811L in c++2b" +# if __cpp_lib_ranges != 201911L +# error "__cpp_lib_ranges should have the value 201911L in c++2b" # endif # else // _LIBCPP_VERSION # ifdef __cpp_lib_ranges Index: libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp =================================================================== --- libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp +++ libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp @@ -111,7 +111,7 @@ __cpp_lib_parallel_algorithm 201603L [C++17] __cpp_lib_polymorphic_allocator 201902L [C++20] __cpp_lib_quoted_string_io 201304L [C++14] - __cpp_lib_ranges 201811L [C++20] + __cpp_lib_ranges 201911L [C++20] __cpp_lib_raw_memory_algorithms 201606L [C++17] __cpp_lib_remove_cvref 201711L [C++20] __cpp_lib_result_of_sfinae 201210L [C++14] @@ -2923,8 +2923,8 @@ # ifndef __cpp_lib_ranges # error "__cpp_lib_ranges should be defined in c++20" # endif -# if __cpp_lib_ranges != 201811L -# error "__cpp_lib_ranges should have the value 201811L in c++20" +# if __cpp_lib_ranges != 201911L +# error "__cpp_lib_ranges should have the value 201911L in c++20" # endif # else // _LIBCPP_VERSION # ifdef __cpp_lib_ranges @@ -4077,8 +4077,8 @@ # ifndef __cpp_lib_ranges # error "__cpp_lib_ranges should be defined in c++2b" # endif -# if __cpp_lib_ranges != 201811L -# error "__cpp_lib_ranges should have the value 201811L in c++2b" +# if __cpp_lib_ranges != 201911L +# error "__cpp_lib_ranges should have the value 201911L in c++2b" # endif # else // _LIBCPP_VERSION # ifdef __cpp_lib_ranges Index: libcxx/utils/generate_feature_test_macro_components.py =================================================================== --- libcxx/utils/generate_feature_test_macro_components.py +++ libcxx/utils/generate_feature_test_macro_components.py @@ -489,7 +489,7 @@ "headers": ["iomanip"], }, { "name": "__cpp_lib_ranges", - "values": { "c++20": 201811 }, + "values": { "c++20": 201911 }, "headers": ["algorithm", "functional", "iterator", "memory", "ranges"], "unimplemented": True, }, {