[libcxx-commits] [libcxx] [libc++] Fix char_traits deprecation message (LLVM 18 -> 19) (PR #72690)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Nov 17 11:10:50 PST 2023
https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/72690
We intend to remove the base specialization in LLVM 19, not LLVM 18. We simply forgot to update the deprecation message accordingly.
>From 0548404e11ad734a06fbaa15012ad22927cb0d60 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Fri, 17 Nov 2023 14:09:53 -0500
Subject: [PATCH] [libc++] Fix char_traits deprecation message (LLVM 18 -> 19)
We intend to remove the base specialization in LLVM 19, not LLVM 18.
We simply forgot to update the deprecation message accordingly.
---
libcxx/include/__string/char_traits.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the libcxx-commits
mailing list