aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/codecvt
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2023-11-24 17:34:30 +0100
committerGitHub <noreply@github.com>2023-11-24 17:34:30 +0100
commit233e7c5de2d2abda024577e79dcd195562de68c8 (patch)
tree2576566849c175c5d7fdfe5fd37838d6df80bd74 /libcxx/include/codecvt
parent92d9f232dd627eea8bd2c825c539b28374bbfa69 (diff)
downloadllvm-233e7c5de2d2abda024577e79dcd195562de68c8.zip
llvm-233e7c5de2d2abda024577e79dcd195562de68c8.tar.gz
llvm-233e7c5de2d2abda024577e79dcd195562de68c8.tar.bz2
[libc++] Removes codecvt. (#72496)
Implements: - P2871R3 Remove Deprecated Unicode Conversion Facets from C++26
Diffstat (limited to 'libcxx/include/codecvt')
-rw-r--r--libcxx/include/codecvt4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/codecvt b/libcxx/include/codecvt
index 7a8c28d..7a36328 100644
--- a/libcxx/include/codecvt
+++ b/libcxx/include/codecvt
@@ -63,6 +63,8 @@ class codecvt_utf8_utf16
# pragma GCC system_header
#endif
+#if _LIBCPP_STD_VER < 26 || defined(_LIBCPP_ENABLE_CXX26_REMOVED_CODECVT)
+
_LIBCPP_BEGIN_NAMESPACE_STD
enum _LIBCPP_DEPRECATED_IN_CXX17 codecvt_mode
@@ -553,6 +555,8 @@ _LIBCPP_SUPPRESS_DEPRECATED_POP
_LIBCPP_END_NAMESPACE_STD
+#endif // _LIBCPP_STD_VER < 26 || defined(_LIBCPP_ENABLE_CXX26_REMOVED_CODECVT)
+
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
# include <atomic>
# include <concepts>