[libcxx-commits] [libcxx] 3c7a7a7 - [libc++][NFC] Rename _LIBCPP_EXPLICIT_AFTER_CXX11 to _LIBCPP_EXPLICIT_SINCE_CXX14
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Feb 4 15:22:58 PST 2023
Author: Nikolas Klauser
Date: 2023-02-05T00:22:53+01:00
New Revision: 3c7a7a7b46f0a3560634eaf72c9c2e966446c2d5
URL: https://github.com/llvm/llvm-project/commit/3c7a7a7b46f0a3560634eaf72c9c2e966446c2d5
DIFF: https://github.com/llvm/llvm-project/commit/3c7a7a7b46f0a3560634eaf72c9c2e966446c2d5.diff
LOG: [libc++][NFC] Rename _LIBCPP_EXPLICIT_AFTER_CXX11 to _LIBCPP_EXPLICIT_SINCE_CXX14
We renamed the `_LIBCPP_CONSTEXPR_` a while ago. This matches the change for `_LIBCPP_EXPLICIT_`.
Reviewed By: Mordante, #libc
Spies: libcxx-commits
Differential Revision: https://reviews.llvm.org/D143165
Added:
Modified:
libcxx/include/__config
libcxx/include/locale
Removed:
################################################################################
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 89fb056d28bd..384bc6badcca 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -830,9 +830,9 @@ _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD
# endif
# if _LIBCPP_STD_VER <= 11
-# define _LIBCPP_EXPLICIT_AFTER_CXX11
+# define _LIBCPP_EXPLICIT_SINCE_CXX14
# else
-# define _LIBCPP_EXPLICIT_AFTER_CXX11 explicit
+# define _LIBCPP_EXPLICIT_SINCE_CXX14 explicit
# endif
# if _LIBCPP_STD_VER > 11
diff --git a/libcxx/include/locale b/libcxx/include/locale
index 874866f69822..0b64c68ebfac 100644
--- a/libcxx/include/locale
+++ b/libcxx/include/locale
@@ -3625,13 +3625,13 @@ public:
explicit wstring_convert(_Codecvt* __pcvt);
#else
_LIBCPP_INLINE_VISIBILITY
- _LIBCPP_EXPLICIT_AFTER_CXX11
+ _LIBCPP_EXPLICIT_SINCE_CXX14
wstring_convert(_Codecvt* __pcvt = new _Codecvt);
#endif
_LIBCPP_INLINE_VISIBILITY
wstring_convert(_Codecvt* __pcvt, state_type __state);
- _LIBCPP_EXPLICIT_AFTER_CXX11 wstring_convert(const byte_string& __byte_err,
+ _LIBCPP_EXPLICIT_SINCE_CXX14 wstring_convert(const byte_string& __byte_err,
const wide_string& __wide_err = wide_string());
#ifndef _LIBCPP_CXX03_LANG
_LIBCPP_INLINE_VISIBILITY
@@ -3907,7 +3907,7 @@ public:
_Codecvt* __pcvt = new _Codecvt,
state_type __state = state_type());
#else
- _LIBCPP_EXPLICIT_AFTER_CXX11
+ _LIBCPP_EXPLICIT_SINCE_CXX14
wbuffer_convert(streambuf* __bytebuf = nullptr,
_Codecvt* __pcvt = new _Codecvt,
state_type __state = state_type());
More information about the libcxx-commits
mailing list