From a1ae7e97de24b7d9f3cd331ff47fc5a0cb5c29fe Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Fri, 17 Nov 2023 09:32:11 -1000 Subject: [PATCH] [libc++] Fix char_traits deprecation message (LLVM 18 -> 19) (#72690) 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 ca9867c39067..005df9a98f17 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 -struct _LIBCPP_DEPRECATED_("char_traits 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 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; -- 2.11.4.GIT