llvm-project/libcxx/test/std/depr/depr.c.headers
Tom Honermann 7e7013c5d4 [libc++][cuchar] Declare std::c8rtomb and std::mbrtoc8 in <cuchar> if available.
This change implements the C library dependent portions of P0482R6
(char8_t: A type for UTF-8 characters and strings (Revision 6)) by
declaring std::c8rtomb() and std::mbrtoc8() in the <cuchar> header
when implementations are provided by the C library as specified by
WG14 N2653 (char8_t: A type for UTF-8 characters and strings
(Revision 1)) as adopted for C23.

A _LIBCPP_HAS_NO_C8RTOMB_MBRTOC8 macro is defined by the libc++ __config
header unless it is known that the C library provides these functions
in the current compilation mode. This macro is used for testing purposes
and may be of use to libc++ users. At present, the only C library known
to implement these functions is GNU libc as of its 2.36 release.

Reviewed By: ldionne

Differential Revision: https://reviews.llvm.org/D130946
2022-09-10 21:10:33 -04:00
..
assert_h.pass.cpp
ciso646.pass.cpp
complex.h.pass.cpp
ctype_h.pass.cpp
errno_h.pass.cpp [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
fenv_h.pass.cpp
float_h.pass.cpp [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
inttypes_h.pass.cpp [libc++] Add missing annotations for TEST_HAS_NO_WIDE_CHARACTERS 2021-11-01 14:10:32 -04:00
iso646_h.pass.cpp
limits_h.pass.cpp
locale_h.pass.cpp [runtimes] Rename various libcpp-has-no-XYZ Lit features to just no-XYZ 2022-05-27 15:24:45 -04:00
math_h.pass.cpp [libc++] Add warning pragma macros in the test suite 2022-03-17 00:11:20 +01:00
setjmp_h.pass.cpp
signal_h.pass.cpp
stdarg_h.pass.cpp
stdbool_h.pass.cpp
stddef_h.pass.cpp
stdint_h.pass.cpp [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
stdio_h.pass.cpp [libc++] Silence new deprecation warnings for C functions in tests 2022-04-05 10:26:32 -04:00
stdlib_h.aligned_alloc.compile.pass.cpp [libcxx] [test] Make windows triples in XFAILs less specific 2021-10-12 18:24:47 +03:00
stdlib_h.pass.cpp [libc++] Add warning pragma macros in the test suite 2022-03-17 00:11:20 +01:00
string_h.pass.cpp [libc++] Remove support for CloudABI, which has been abandoned 2021-08-24 14:11:32 -04:00
tgmath_h.pass.cpp
time_h.pass.cpp
uchar_h.compile.pass.cpp [libc++][cuchar] Declare std::c8rtomb and std::mbrtoc8 in <cuchar> if available. 2022-09-10 21:10:33 -04:00
wchar_h.pass.cpp [runtimes] Rename various libcpp-has-no-XYZ Lit features to just no-XYZ 2022-05-27 15:24:45 -04:00
wctype_h.pass.cpp [runtimes] Rename various libcpp-has-no-XYZ Lit features to just no-XYZ 2022-05-27 15:24:45 -04:00