[libcxx-commits] [PATCH] D119865: [libc++][nfc] Add TEST_HAS_NO_STRONG_ENUMS.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 16 12:36:42 PST 2022


Quuxplusone added a comment.

To clarify in case it's needed: The guard around `define _LIBCPP_DECLARE_STRONG_ENUM(x)` should now use `#if defined(_LIBCPP_CXX03_LANG)`. The macro `_LIBCPP_HAS_NO_STRONG_ENUMS` should vanish.



================
Comment at: libcxx/test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp:29
 
-#if !defined(TEST_HAS_NO_INT128) && !defined(_LIBCPP_HAS_NO_STRONG_ENUMS)
+#if !defined(TEST_HAS_NO_INT128) && !defined(TEST_HAS_NO_STRONG_ENUMS)
 enum HugeEnum : __int128_t
----------------
To clarify in case it's needed: This should now use `TEST_STD_VER >= 11`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119865/new/

https://reviews.llvm.org/D119865



More information about the libcxx-commits mailing list