File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
test/std/language.support/support.limits/support.limits.general Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ __cpp_lib_void_t 201411L <type_traits>
337
337
# define __cpp_lib_latch 201907L
338
338
# endif
339
339
# define __cpp_lib_list_remove_return_type 201806L
340
- # ifndef _LIBCPP_HAS_NO_CONCEPTS
340
+ # if !defined( _LIBCPP_HAS_NO_CONCEPTS)
341
341
# define __cpp_lib_math_constants 201907L
342
342
# endif
343
343
// # define __cpp_lib_polymorphic_allocator 201902L
Original file line number Diff line number Diff line change 42
42
43
43
#elif TEST_STD_VER == 20
44
44
45
- # ifndef _LIBCPP_HAS_NO_CONCEPTS
45
+ # if defined(__cpp_concepts) && __cpp_concepts >= 201907L
46
46
# ifndef __cpp_lib_math_constants
47
47
# error "__cpp_lib_math_constants should be defined in c++20"
48
48
# endif
53
53
# ifdef __cpp_lib_math_constants
54
54
# error "__cpp_lib_math_constants should not be defined when defined(__cpp_concepts) && __cpp_concepts >= 201907L is not defined!"
55
55
# endif
56
- # endif // _LIBCPP_HAS_NO_CONCEPTS
56
+ # endif
57
57
58
58
#elif TEST_STD_VER > 20
59
59
60
- # ifndef _LIBCPP_HAS_NO_CONCEPTS
60
+ # if defined(__cpp_concepts) && __cpp_concepts >= 201907L
61
61
# ifndef __cpp_lib_math_constants
62
62
# error "__cpp_lib_math_constants should be defined in c++2b"
63
63
# endif
68
68
# ifdef __cpp_lib_math_constants
69
69
# error "__cpp_lib_math_constants should not be defined when defined(__cpp_concepts) && __cpp_concepts >= 201907L is not defined!"
70
70
# endif
71
- # endif // _LIBCPP_HAS_NO_CONCEPTS
71
+ # endif
72
72
73
73
#endif // TEST_STD_VER > 20
74
74
Original file line number Diff line number Diff line change 2890
2890
# error "__cpp_lib_map_try_emplace should have the value 201411L in c++20"
2891
2891
# endif
2892
2892
2893
- # ifndef _LIBCPP_HAS_NO_CONCEPTS
2893
+ # if defined(__cpp_concepts) && __cpp_concepts >= 201907L
2894
2894
# ifndef __cpp_lib_math_constants
2895
2895
# error "__cpp_lib_math_constants should be defined in c++20"
2896
2896
# endif
2901
2901
# ifdef __cpp_lib_math_constants
2902
2902
# error "__cpp_lib_math_constants should not be defined when defined(__cpp_concepts) && __cpp_concepts >= 201907L is not defined!"
2903
2903
# endif
2904
- # endif // _LIBCPP_HAS_NO_CONCEPTS
2904
+ # endif
2905
2905
2906
2906
# if !defined(_LIBCPP_VERSION)
2907
2907
# ifndef __cpp_lib_math_special_functions
4104
4104
# error "__cpp_lib_map_try_emplace should have the value 201411L in c++2b"
4105
4105
# endif
4106
4106
4107
- # if !_LIBCPP_HAS_NO_CONCEPTS
4107
+ # if defined(__cpp_concepts) && __cpp_concepts >= 201907L
4108
4108
# ifndef __cpp_lib_math_constants
4109
4109
# error "__cpp_lib_math_constants should be defined in c++2b"
4110
4110
# endif
4115
4115
# ifdef __cpp_lib_math_constants
4116
4116
# error "__cpp_lib_math_constants should not be defined when defined(__cpp_concepts) && __cpp_concepts >= 201907L is not defined!"
4117
4117
# endif
4118
- # endif // !_LIBCPP_HAS_NO_CONCEPTS
4118
+ # endif
4119
4119
4120
4120
# if !defined(_LIBCPP_VERSION)
4121
4121
# ifndef __cpp_lib_math_special_functions
Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ def add_version_header(tc):
422
422
"values" : { "c++20" : 201907 },
423
423
"headers" : ["numbers" ],
424
424
"depends" : "defined(__cpp_concepts) && __cpp_concepts >= 201907L" ,
425
- "internal_depends" : "defined(__cpp_concepts) && __cpp_concepts >= 201907L " ,
425
+ "internal_depends" : "! defined(_LIBCPP_HAS_NO_CONCEPTS) " ,
426
426
}, {
427
427
"name" : "__cpp_lib_math_special_functions" ,
428
428
"values" : { "c++17" : 201603 },
You can’t perform that action at this time.
0 commit comments