llvm-project/libcxx/test/std/depr/depr.c.headers
Louis Dionne f62d4135c5 [libc++] Use builtins when redeclaring <string.h> functions
When we define the const-correct overloads of <string.h> functions in
libc++ itself, use builtins whenever possible. This avoids depending on
the presence of these functions in the C library headers.

Also, as a fly-by, improve the tests for these functions since we
basically didn't check anything but their signature. We could have
used the wrong builtin (as long as the signature matched) without ever
noticing, which was quite scary.

Differential Revision: https://reviews.llvm.org/D138684
2022-11-25 09:22:09 -05: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++] Remove duplication in math_h.pass.cpp and improve coverage 2022-11-22 20:35:44 +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 [libc++][Android] XFAIL aligned_alloc and timespec_get tests 2022-11-02 14:53:51 -07: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++] Use builtins when redeclaring <string.h> functions 2022-11-25 09:22:09 -05: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