[libcxx-commits] [libcxx] [libc++] Fix char_traits deprecation message (LLVM 18 -> 19) (PR #72690)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Nov 17 11:11:18 PST 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Louis Dionne (ldionne)
<details>
<summary>Changes</summary>
We intend to remove the base specialization in LLVM 19, not LLVM 18. We simply forgot to update the deprecation message accordingly.
---
Full diff: https://github.com/llvm/llvm-project/pull/72690.diff
1 Files Affected:
- (modified) libcxx/include/__string/char_traits.h (+1-1)
``````````diff
diff --git a/libcxx/include/__string/char_traits.h b/libcxx/include/__string/char_traits.h
index ca9867c39067d5d..005df9a98f17a28 100644
--- a/libcxx/include/__string/char_traits.h
+++ b/libcxx/include/__string/char_traits.h
@@ -77,7 +77,7 @@ exposition-only to document what members a char_traits specialization should pro
//
#if !defined(_LIBCPP_CHAR_TRAITS_REMOVE_BASE_SPECIALIZATION)
template <class _CharT>
-struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
+struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 19, so please migrate off of it.")
char_traits
{
using char_type = _CharT;
``````````
</details>
https://github.com/llvm/llvm-project/pull/72690
More information about the libcxx-commits
mailing list