[libcxx-commits] [libcxx] a1ae7e9 - [libc++] Fix char_traits deprecation message (LLVM 18 -> 19) (#72690)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 17 11:32:15 PST 2023


Author: Louis Dionne
Date: 2023-11-17T14:32:11-05:00
New Revision: a1ae7e97de24b7d9f3cd331ff47fc5a0cb5c29fe

URL: https://github.com/llvm/llvm-project/commit/a1ae7e97de24b7d9f3cd331ff47fc5a0cb5c29fe
DIFF: https://github.com/llvm/llvm-project/commit/a1ae7e97de24b7d9f3cd331ff47fc5a0cb5c29fe.diff

LOG: [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.

Added: 
    

Modified: 
    libcxx/include/__string/char_traits.h

Removed: 
    


################################################################################
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