llvm-project/libcxx/include/experimental
Louis Dionne 385cc25a53 [libc++] Ensure that all public C++ headers include <__assert>
This patch changes the requirement for getting the declaration of the
assertion handler from including <__assert> to including any public
C++ header of the library. Note that C compatibility headers are
excluded because we don't implement all the C headers ourselves --
some of them are taken straight from the C library, like assert.h.

It also adds a generated test to check it. Furthermore, this new
generated test is designed in a way that will make it possible to
replace almost all the existing test-generation scripts with this
system in upcoming patches.

Differential Revision: https://reviews.llvm.org/D122506
2022-03-30 15:05:31 -04:00
..
__config [libc++] Remove <experimental/filesystem> header 2022-02-12 19:43:57 -05:00
__memory [libc++] Remove __functional_base 2022-02-11 19:16:01 +01:00
algorithm [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
coroutine [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
deque [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
forward_list [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
functional [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
iterator [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
list [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
map [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
memory_resource [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
propagate_const [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
regex [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
set [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
simd [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
string [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
type_traits [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
unordered_map [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
unordered_set [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
utility [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
vector [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00