llvm-project/libcxx/test/std/depr
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
..
depr.atomics/depr.atomics.nonmembers [libc++] Enable <atomic> when threads are disabled 2021-11-17 23:02:58 -05:00
depr.auto.ptr/auto.ptr [libc++] Move several defines to ADDITIONAL_COMPILE_FLAGS in the test suite 2022-03-03 13:17:35 -05:00
depr.c.headers [libc++] Use builtins when redeclaring <string.h> functions 2022-11-25 09:22:09 -05:00
depr.function.objects [libc++] Complete the implementation of N4190 2022-06-22 10:13:03 +02:00
depr.ios.members [runtimes] Rename various libcpp-has-no-XYZ Lit features to just no-XYZ 2022-05-27 15:24:45 -04:00
depr.lib.binders [libc++] Move several defines to ADDITIONAL_COMPILE_FLAGS in the test suite 2022-03-03 13:17:35 -05:00
depr.str.strstreams [runtimes] Rename various libcpp-has-no-XYZ Lit features to just no-XYZ 2022-05-27 15:24:45 -04:00
exception.unexpected