[libcxx-commits] [libcxx] 14573d4 - Regenerate the feature test macro unit-tests. NFCI.

Arthur O'Dwyer via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 18 16:06:38 PST 2021


Author: Arthur O'Dwyer
Date: 2021-01-18T19:06:28-05:00
New Revision: 14573d44ae097969a6168fbf14cc7f796442a296

URL: https://github.com/llvm/llvm-project/commit/14573d44ae097969a6168fbf14cc7f796442a296
DIFF: https://github.com/llvm/llvm-project/commit/14573d44ae097969a6168fbf14cc7f796442a296.diff

LOG: Regenerate the feature test macro unit-tests. NFCI.

Somehow commit 1f1250151f222ba391d05dcc173f4b6c65d05ca2 added the
right code but with the wrong whitespace.

Added: 
    

Modified: 
    libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
    libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
index 41bc22f6a330..368c3811532c 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.pass.cpp
@@ -638,11 +638,11 @@
 #   endif
 # endif
 
-#ifndef __cpp_lib_is_scoped_enum
-#error "__cpp_lib_is_scoped_enum should be defined in c++2b"
-#endif
-#if __cpp_lib_is_scoped_enum != 202011L
-#error "__cpp_lib_is_scoped_enum should have the value 202011L in c++2b"
+# ifndef __cpp_lib_is_scoped_enum
+#   error "__cpp_lib_is_scoped_enum should be defined in c++2b"
+# endif
+# if __cpp_lib_is_scoped_enum != 202011L
+#   error "__cpp_lib_is_scoped_enum should have the value 202011L in c++2b"
 # endif
 
 # ifndef __cpp_lib_is_swappable

diff  --git a/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
index 3ff920c3a489..887416c9dcbe 100644
--- a/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
@@ -3983,11 +3983,11 @@
 #   endif
 # endif
 
-#ifndef __cpp_lib_is_scoped_enum
-#error "__cpp_lib_is_scoped_enum should be defined in c++2b"
-#endif
-#if __cpp_lib_is_scoped_enum != 202011L
-#error "__cpp_lib_is_scoped_enum should have the value 202011L in c++2b"
+# ifndef __cpp_lib_is_scoped_enum
+#   error "__cpp_lib_is_scoped_enum should be defined in c++2b"
+# endif
+# if __cpp_lib_is_scoped_enum != 202011L
+#   error "__cpp_lib_is_scoped_enum should have the value 202011L in c++2b"
 # endif
 
 # ifndef __cpp_lib_is_swappable


        


More information about the libcxx-commits mailing list