llvm-project/libcxx/test/libcxx
Eric Fiselier b168a7c660 Fix PR39749 - Headers containing just #error harm __has_include.
This patch changes <experimental/foo> to use #warning instead of
is harmful to common feature detection idioms.

We should also consider only emitting the warning when __DEPRECATED is
defined, like we do in the <ext/foo> headers. Users may want to specify
"-Werror=-W#warnings" while still ignoring the libc++ warnings.

llvm-svn: 350485
2019-01-06 00:37:31 +00:00
..
algorithms [libcxx] Speeding up partition_point/lower_bound/upper_bound 2018-12-17 16:04:39 +00:00
atomics Revert "Add nonnull; use it for atomics" 2018-05-26 19:44:45 +00:00
containers [libcxx] Use custom allocator's `construct` in C++03 when available. 2018-12-19 20:08:43 +00:00
debug Fix PR35564 - std::list splice/erase incorrectly throw in debug mode. 2018-01-25 00:02:48 +00:00
depr Work around C++03 decltype limitations 2018-11-15 00:27:06 +00:00
diagnostics Mark [[nodiscard]] tests unsupported on GCC prior to 7.0 2018-09-22 21:01:07 +00:00
experimental Fix PR39749 - Headers containing just #error harm __has_include. 2019-01-06 00:37:31 +00:00
extensions Fix or move various non-standard tests. 2016-04-29 04:07:45 +00:00
fuzzing Add more fuzzing bits: partial_sort_copy, partition_copy, unique, unique_copy. No functional change to libc++; this is all test infastructure 2017-10-30 19:51:58 +00:00
input.output Implement <filesystem> 2018-07-27 03:07:09 +00:00
iterators Move old test into test/libcxx, and implement new version of test for ostreambuf_iterator::failed. Fixes PR#37245. Thanks to Billy O'Neill for the bug report. 2018-04-26 16:16:45 +00:00
language.support [libcxx] Mark some tests as still failing on macosx10.14 2018-12-14 20:22:44 +00:00
localization update XFAIL comments with more details 2017-04-21 03:09:40 +00:00
memory [libcxx] Handle AppleClang 9 and 10 in XFAILs for aligned allocation tests 2018-12-18 00:42:09 +00:00
modules XFAIL Windows test failures under test/libcxx 2017-04-21 01:48:02 +00:00
numerics [libcxx] Improve accuracy of complex asinh and acosh 2018-02-19 15:41:36 +00:00
selftest Change a bunch of comments from C++1z to C++17. NFC 2017-11-02 15:03:25 +00:00
strings Add basic_string::__resize_default_init (from P1072) 2018-11-26 20:15:38 +00:00
thread Get tests compiling with -Wunused-local-typedef 2018-11-15 00:11:02 +00:00
type_traits Revert "Teach __libcpp_is_floating_point that __fp16 and _Float16 are" 2018-10-24 21:29:15 +00:00
utilities Work around GCC 9.0 regression 2018-12-19 18:58:22 +00:00
double_include.sh.cpp [libcxx] Remove dynarray 2018-11-28 18:02:00 +00:00
include_as_c.sh.cpp Allow the libc++ C header wrappers to be included when compiling C. 2017-06-16 01:57:41 +00:00
libcpp_version.pass.cpp Add test that _LIBCPP_VERSION matches __libcpp_version 2016-12-23 19:38:43 +00:00
min_max_macros.sh.cpp [libcxx] Remove dynarray 2018-11-28 18:02:00 +00:00