Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Differential D110494 Diff 375090 libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
Changeset View
Changeset View
Standalone View
Standalone View
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | /* Constant Value | ||||
__cpp_lib_destroying_delete 201806L [C++20] | __cpp_lib_destroying_delete 201806L [C++20] | ||||
__cpp_lib_enable_shared_from_this 201603L [C++17] | __cpp_lib_enable_shared_from_this 201603L [C++17] | ||||
__cpp_lib_endian 201907L [C++20] | __cpp_lib_endian 201907L [C++20] | ||||
__cpp_lib_erase_if 202002L [C++20] | __cpp_lib_erase_if 202002L [C++20] | ||||
__cpp_lib_exchange_function 201304L [C++14] | __cpp_lib_exchange_function 201304L [C++14] | ||||
__cpp_lib_execution 201603L [C++17] | __cpp_lib_execution 201603L [C++17] | ||||
201902L [C++20] | 201902L [C++20] | ||||
__cpp_lib_filesystem 201703L [C++17] | __cpp_lib_filesystem 201703L [C++17] | ||||
__cpp_lib_format 201907L [C++20] | __cpp_lib_format 202106L [C++20] | ||||
__cpp_lib_gcd_lcm 201606L [C++17] | __cpp_lib_gcd_lcm 201606L [C++17] | ||||
__cpp_lib_generic_associative_lookup 201304L [C++14] | __cpp_lib_generic_associative_lookup 201304L [C++14] | ||||
__cpp_lib_generic_unordered_lookup 201811L [C++20] | __cpp_lib_generic_unordered_lookup 201811L [C++20] | ||||
__cpp_lib_hardware_interference_size 201703L [C++17] | __cpp_lib_hardware_interference_size 201703L [C++17] | ||||
__cpp_lib_has_unique_object_representations 201606L [C++17] | __cpp_lib_has_unique_object_representations 201606L [C++17] | ||||
__cpp_lib_hypot 201603L [C++17] | __cpp_lib_hypot 201603L [C++17] | ||||
__cpp_lib_incomplete_container_elements 201505L [C++17] | __cpp_lib_incomplete_container_elements 201505L [C++17] | ||||
__cpp_lib_int_pow2 202002L [C++20] | __cpp_lib_int_pow2 202002L [C++20] | ||||
▲ Show 20 Lines • Show All 2,468 Lines • ▼ Show 20 Lines | |||||
# error "__cpp_lib_filesystem should not be defined when !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_filesystem) is not defined!" | # error "__cpp_lib_filesystem should not be defined when !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_filesystem) is not defined!" | ||||
# endif | # endif | ||||
# endif | # endif | ||||
# if !defined(_LIBCPP_VERSION) | # if !defined(_LIBCPP_VERSION) | ||||
# ifndef __cpp_lib_format | # ifndef __cpp_lib_format | ||||
# error "__cpp_lib_format should be defined in c++20" | # error "__cpp_lib_format should be defined in c++20" | ||||
# endif | # endif | ||||
# if __cpp_lib_format != 201907L | # if __cpp_lib_format != 202106L | ||||
# error "__cpp_lib_format should have the value 201907L in c++20" | # error "__cpp_lib_format should have the value 202106L in c++20" | ||||
# endif | # endif | ||||
# else // _LIBCPP_VERSION | # else // _LIBCPP_VERSION | ||||
# ifdef __cpp_lib_format | # ifdef __cpp_lib_format | ||||
# error "__cpp_lib_format should not be defined because it is unimplemented in libc++!" | # error "__cpp_lib_format should not be defined because it is unimplemented in libc++!" | ||||
# endif | # endif | ||||
# endif | # endif | ||||
# ifndef __cpp_lib_gcd_lcm | # ifndef __cpp_lib_gcd_lcm | ||||
▲ Show 20 Lines • Show All 1,139 Lines • ▼ Show 20 Lines | |||||
# error "__cpp_lib_filesystem should not be defined when !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_filesystem) is not defined!" | # error "__cpp_lib_filesystem should not be defined when !defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_filesystem) is not defined!" | ||||
# endif | # endif | ||||
# endif | # endif | ||||
# if !defined(_LIBCPP_VERSION) | # if !defined(_LIBCPP_VERSION) | ||||
# ifndef __cpp_lib_format | # ifndef __cpp_lib_format | ||||
# error "__cpp_lib_format should be defined in c++2b" | # error "__cpp_lib_format should be defined in c++2b" | ||||
# endif | # endif | ||||
# if __cpp_lib_format != 201907L | # if __cpp_lib_format != 202106L | ||||
# error "__cpp_lib_format should have the value 201907L in c++2b" | # error "__cpp_lib_format should have the value 202106L in c++2b" | ||||
# endif | # endif | ||||
# else // _LIBCPP_VERSION | # else // _LIBCPP_VERSION | ||||
# ifdef __cpp_lib_format | # ifdef __cpp_lib_format | ||||
# error "__cpp_lib_format should not be defined because it is unimplemented in libc++!" | # error "__cpp_lib_format should not be defined because it is unimplemented in libc++!" | ||||
# endif | # endif | ||||
# endif | # endif | ||||
# ifndef __cpp_lib_gcd_lcm | # ifndef __cpp_lib_gcd_lcm | ||||
▲ Show 20 Lines • Show All 708 Lines • Show Last 20 Lines |