[libc++] Mark __cpp_lib_constexpr_memory as being implemented
This commit is contained in:
		
							parent
							
								
									378941f611
								
							
						
					
					
						commit
						5d0d465ad4
					
				| 
						 | 
					@ -210,7 +210,7 @@ Status
 | 
				
			||||||
    ------------------------------------------------- -----------------
 | 
					    ------------------------------------------------- -----------------
 | 
				
			||||||
    ``__cpp_lib_constexpr_iterator``                  *unimplemented*
 | 
					    ``__cpp_lib_constexpr_iterator``                  *unimplemented*
 | 
				
			||||||
    ------------------------------------------------- -----------------
 | 
					    ------------------------------------------------- -----------------
 | 
				
			||||||
    ``__cpp_lib_constexpr_memory``                    *unimplemented*
 | 
					    ``__cpp_lib_constexpr_memory``                    ``201811L``
 | 
				
			||||||
    ------------------------------------------------- -----------------
 | 
					    ------------------------------------------------- -----------------
 | 
				
			||||||
    ``__cpp_lib_constexpr_numeric``                   ``201911L``
 | 
					    ``__cpp_lib_constexpr_numeric``                   ``201911L``
 | 
				
			||||||
    ------------------------------------------------- -----------------
 | 
					    ------------------------------------------------- -----------------
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -301,7 +301,7 @@ __cpp_lib_void_t                                        201411L <type_traits>
 | 
				
			||||||
# define __cpp_lib_constexpr_dynamic_alloc              201907L
 | 
					# define __cpp_lib_constexpr_dynamic_alloc              201907L
 | 
				
			||||||
# define __cpp_lib_constexpr_functional                 201907L
 | 
					# define __cpp_lib_constexpr_functional                 201907L
 | 
				
			||||||
// # define __cpp_lib_constexpr_iterator                   201811L
 | 
					// # define __cpp_lib_constexpr_iterator                   201811L
 | 
				
			||||||
// # define __cpp_lib_constexpr_memory                     201811L
 | 
					# define __cpp_lib_constexpr_memory                     201811L
 | 
				
			||||||
# define __cpp_lib_constexpr_numeric                    201911L
 | 
					# define __cpp_lib_constexpr_numeric                    201911L
 | 
				
			||||||
// # define __cpp_lib_constexpr_string                     201907L
 | 
					// # define __cpp_lib_constexpr_string                     201907L
 | 
				
			||||||
// # define __cpp_lib_constexpr_string_view                201811L
 | 
					// # define __cpp_lib_constexpr_string_view                201811L
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -327,18 +327,12 @@
 | 
				
			||||||
#   error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++20"
 | 
					#   error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++20"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# if !defined(_LIBCPP_VERSION)
 | 
					 | 
				
			||||||
# ifndef __cpp_lib_constexpr_memory
 | 
					# ifndef __cpp_lib_constexpr_memory
 | 
				
			||||||
#   error "__cpp_lib_constexpr_memory should be defined in c++20"
 | 
					#   error "__cpp_lib_constexpr_memory should be defined in c++20"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
# if __cpp_lib_constexpr_memory != 201811L
 | 
					# if __cpp_lib_constexpr_memory != 201811L
 | 
				
			||||||
#   error "__cpp_lib_constexpr_memory should have the value 201811L in c++20"
 | 
					#   error "__cpp_lib_constexpr_memory should have the value 201811L in c++20"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
# else // _LIBCPP_VERSION
 | 
					 | 
				
			||||||
#   ifdef __cpp_lib_constexpr_memory
 | 
					 | 
				
			||||||
#     error "__cpp_lib_constexpr_memory should not be defined because it is unimplemented in libc++!"
 | 
					 | 
				
			||||||
#   endif
 | 
					 | 
				
			||||||
# endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ifndef __cpp_lib_enable_shared_from_this
 | 
					# ifndef __cpp_lib_enable_shared_from_this
 | 
				
			||||||
#   error "__cpp_lib_enable_shared_from_this should be defined in c++20"
 | 
					#   error "__cpp_lib_enable_shared_from_this should be defined in c++20"
 | 
				
			||||||
| 
						 | 
					@ -483,18 +477,12 @@
 | 
				
			||||||
#   error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++2b"
 | 
					#   error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++2b"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# if !defined(_LIBCPP_VERSION)
 | 
					 | 
				
			||||||
# ifndef __cpp_lib_constexpr_memory
 | 
					# ifndef __cpp_lib_constexpr_memory
 | 
				
			||||||
#   error "__cpp_lib_constexpr_memory should be defined in c++2b"
 | 
					#   error "__cpp_lib_constexpr_memory should be defined in c++2b"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
# if __cpp_lib_constexpr_memory != 201811L
 | 
					# if __cpp_lib_constexpr_memory != 201811L
 | 
				
			||||||
#   error "__cpp_lib_constexpr_memory should have the value 201811L in c++2b"
 | 
					#   error "__cpp_lib_constexpr_memory should have the value 201811L in c++2b"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
# else // _LIBCPP_VERSION
 | 
					 | 
				
			||||||
#   ifdef __cpp_lib_constexpr_memory
 | 
					 | 
				
			||||||
#     error "__cpp_lib_constexpr_memory should not be defined because it is unimplemented in libc++!"
 | 
					 | 
				
			||||||
#   endif
 | 
					 | 
				
			||||||
# endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ifndef __cpp_lib_enable_shared_from_this
 | 
					# ifndef __cpp_lib_enable_shared_from_this
 | 
				
			||||||
#   error "__cpp_lib_enable_shared_from_this should be defined in c++2b"
 | 
					#   error "__cpp_lib_enable_shared_from_this should be defined in c++2b"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2442,18 +2442,12 @@
 | 
				
			||||||
#   endif
 | 
					#   endif
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# if !defined(_LIBCPP_VERSION)
 | 
					 | 
				
			||||||
# ifndef __cpp_lib_constexpr_memory
 | 
					# ifndef __cpp_lib_constexpr_memory
 | 
				
			||||||
#   error "__cpp_lib_constexpr_memory should be defined in c++20"
 | 
					#   error "__cpp_lib_constexpr_memory should be defined in c++20"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
# if __cpp_lib_constexpr_memory != 201811L
 | 
					# if __cpp_lib_constexpr_memory != 201811L
 | 
				
			||||||
#   error "__cpp_lib_constexpr_memory should have the value 201811L in c++20"
 | 
					#   error "__cpp_lib_constexpr_memory should have the value 201811L in c++20"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
# else // _LIBCPP_VERSION
 | 
					 | 
				
			||||||
#   ifdef __cpp_lib_constexpr_memory
 | 
					 | 
				
			||||||
#     error "__cpp_lib_constexpr_memory should not be defined because it is unimplemented in libc++!"
 | 
					 | 
				
			||||||
#   endif
 | 
					 | 
				
			||||||
# endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ifndef __cpp_lib_constexpr_numeric
 | 
					# ifndef __cpp_lib_constexpr_numeric
 | 
				
			||||||
#   error "__cpp_lib_constexpr_numeric should be defined in c++20"
 | 
					#   error "__cpp_lib_constexpr_numeric should be defined in c++20"
 | 
				
			||||||
| 
						 | 
					@ -3661,18 +3655,12 @@
 | 
				
			||||||
#   endif
 | 
					#   endif
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# if !defined(_LIBCPP_VERSION)
 | 
					 | 
				
			||||||
# ifndef __cpp_lib_constexpr_memory
 | 
					# ifndef __cpp_lib_constexpr_memory
 | 
				
			||||||
#   error "__cpp_lib_constexpr_memory should be defined in c++2b"
 | 
					#   error "__cpp_lib_constexpr_memory should be defined in c++2b"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
# if __cpp_lib_constexpr_memory != 201811L
 | 
					# if __cpp_lib_constexpr_memory != 201811L
 | 
				
			||||||
#   error "__cpp_lib_constexpr_memory should have the value 201811L in c++2b"
 | 
					#   error "__cpp_lib_constexpr_memory should have the value 201811L in c++2b"
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
# else // _LIBCPP_VERSION
 | 
					 | 
				
			||||||
#   ifdef __cpp_lib_constexpr_memory
 | 
					 | 
				
			||||||
#     error "__cpp_lib_constexpr_memory should not be defined because it is unimplemented in libc++!"
 | 
					 | 
				
			||||||
#   endif
 | 
					 | 
				
			||||||
# endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ifndef __cpp_lib_constexpr_numeric
 | 
					# ifndef __cpp_lib_constexpr_numeric
 | 
				
			||||||
#   error "__cpp_lib_constexpr_numeric should be defined in c++2b"
 | 
					#   error "__cpp_lib_constexpr_numeric should be defined in c++2b"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -204,7 +204,6 @@ feature_test_macros = [ add_version_header(x) for x in [
 | 
				
			||||||
    "name": "__cpp_lib_constexpr_memory",
 | 
					    "name": "__cpp_lib_constexpr_memory",
 | 
				
			||||||
    "values": { "c++20": 201811 },
 | 
					    "values": { "c++20": 201811 },
 | 
				
			||||||
    "headers": ["memory"],
 | 
					    "headers": ["memory"],
 | 
				
			||||||
    "unimplemented": True,
 | 
					 | 
				
			||||||
  }, {
 | 
					  }, {
 | 
				
			||||||
    "name": "__cpp_lib_constexpr_numeric",
 | 
					    "name": "__cpp_lib_constexpr_numeric",
 | 
				
			||||||
    "values": { "c++20": 201911 },
 | 
					    "values": { "c++20": 201911 },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue