[libcxx] Fix whitespace error
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: afe8ca867337f5c0e6d1665096e400686a64bef9
diff --git a/docs/FeatureTestMacroTable.rst b/docs/FeatureTestMacroTable.rst
index 1dbeb21..f5c6e5b 100644
--- a/docs/FeatureTestMacroTable.rst
+++ b/docs/FeatureTestMacroTable.rst
@@ -184,7 +184,7 @@
------------------------------------------------- -----------------
``__cpp_lib_constexpr_swap_algorithms`` *unimplemented*
------------------------------------------------- -----------------
- ``__cpp_lib_constexpr_utility `` ``201811L``
+ ``__cpp_lib_constexpr_utility`` ``201811L``
------------------------------------------------- -----------------
``__cpp_lib_destroying_delete`` ``201806L``
------------------------------------------------- -----------------
diff --git a/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp b/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
index 73762a4..e595a99 100644
--- a/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
+++ b/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
@@ -13,14 +13,14 @@
// Test the feature test macros defined by <utility>
-/* Constant Value
- __cpp_lib_as_const 201510L [C++17]
- __cpp_lib_constexpr_misc 201811L [C++2a]
- __cpp_lib_constexpr_utility 201811L [C++2a]
- __cpp_lib_exchange_function 201304L [C++14]
- __cpp_lib_integer_sequence 201304L [C++14]
- __cpp_lib_to_chars 201611L [C++17]
- __cpp_lib_tuples_by_type 201304L [C++14]
+/* Constant Value
+ __cpp_lib_as_const 201510L [C++17]
+ __cpp_lib_constexpr_misc 201811L [C++2a]
+ __cpp_lib_constexpr_utility 201811L [C++2a]
+ __cpp_lib_exchange_function 201304L [C++14]
+ __cpp_lib_integer_sequence 201304L [C++14]
+ __cpp_lib_to_chars 201611L [C++17]
+ __cpp_lib_tuples_by_type 201304L [C++14]
*/
#include <utility>
@@ -36,8 +36,8 @@
# error "__cpp_lib_constexpr_misc should not be defined before c++2a"
# endif
-# ifdef __cpp_lib_constexpr_utility
-# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
+# ifdef __cpp_lib_constexpr_utility
+# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
# endif
# ifdef __cpp_lib_exchange_function
@@ -66,8 +66,8 @@
# error "__cpp_lib_constexpr_misc should not be defined before c++2a"
# endif
-# ifdef __cpp_lib_constexpr_utility
-# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
+# ifdef __cpp_lib_constexpr_utility
+# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
# endif
# ifndef __cpp_lib_exchange_function
@@ -108,8 +108,8 @@
# error "__cpp_lib_constexpr_misc should not be defined before c++2a"
# endif
-# ifdef __cpp_lib_constexpr_utility
-# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
+# ifdef __cpp_lib_constexpr_utility
+# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
# endif
# ifndef __cpp_lib_exchange_function
@@ -168,11 +168,11 @@
# endif
# endif
-# ifndef __cpp_lib_constexpr_utility
-# error "__cpp_lib_constexpr_utility should be defined in c++2a"
+# ifndef __cpp_lib_constexpr_utility
+# error "__cpp_lib_constexpr_utility should be defined in c++2a"
# endif
-# if __cpp_lib_constexpr_utility != 201811L
-# error "__cpp_lib_constexpr_utility should have the value 201811L in c++2a"
+# if __cpp_lib_constexpr_utility != 201811L
+# error "__cpp_lib_constexpr_utility should have the value 201811L in c++2a"
# endif
# ifndef __cpp_lib_exchange_function
diff --git a/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp b/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
index 5e485a2..afbee58 100644
--- a/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
+++ b/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
@@ -195,8 +195,8 @@
# error "__cpp_lib_constexpr_swap_algorithms should not be defined before c++2a"
# endif
-# ifdef __cpp_lib_constexpr_utility
-# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
+# ifdef __cpp_lib_constexpr_utility
+# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
# endif
# ifdef __cpp_lib_destroying_delete
@@ -555,8 +555,8 @@
# error "__cpp_lib_constexpr_swap_algorithms should not be defined before c++2a"
# endif
-# ifdef __cpp_lib_constexpr_utility
-# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
+# ifdef __cpp_lib_constexpr_utility
+# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
# endif
# ifdef __cpp_lib_destroying_delete
@@ -1029,8 +1029,8 @@
# error "__cpp_lib_constexpr_swap_algorithms should not be defined before c++2a"
# endif
-# ifdef __cpp_lib_constexpr_utility
-# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
+# ifdef __cpp_lib_constexpr_utility
+# error "__cpp_lib_constexpr_utility should not be defined before c++2a"
# endif
# ifdef __cpp_lib_destroying_delete
@@ -1734,11 +1734,11 @@
# endif
# endif
-# ifndef __cpp_lib_constexpr_utility
-# error "__cpp_lib_constexpr_utility should be defined in c++2a"
+# ifndef __cpp_lib_constexpr_utility
+# error "__cpp_lib_constexpr_utility should be defined in c++2a"
# endif
-# if __cpp_lib_constexpr_utility != 201811L
-# error "__cpp_lib_constexpr_utility should have the value 201811L in c++2a"
+# if __cpp_lib_constexpr_utility != 201811L
+# error "__cpp_lib_constexpr_utility should have the value 201811L in c++2a"
# endif
# if TEST_STD_VER > 17 && defined(__cpp_impl_destroying_delete) && __cpp_impl_destroying_delete >= 201806L
diff --git a/utils/generate_feature_test_macro_components.py b/utils/generate_feature_test_macro_components.py
index 8824161..6ad1a18 100755
--- a/utils/generate_feature_test_macro_components.py
+++ b/utils/generate_feature_test_macro_components.py
@@ -607,7 +607,7 @@
"depends": "defined(__cpp_concepts) && __cpp_concepts >= 201811L",
"internal_depends": "defined(__cpp_concepts) && __cpp_concepts >= 201811L",
},
- {"name": "__cpp_lib_constexpr_utility ",
+ {"name": "__cpp_lib_constexpr_utility",
"values": {
"c++2a": int(201811),
},