diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-02-29 10:12:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-29 10:12:22 -0500 |
commit | 37dca605c9bd41732da010ee97ed15ad9585a37d (patch) | |
tree | 0346b61a4d8bf40addbe40bd21f36afd1087bc87 /libcxx/include/bitset | |
parent | e60ebbd0001f2e66cb9f76874ddd69290e2086c1 (diff) | |
download | llvm-37dca605c9bd41732da010ee97ed15ad9585a37d.zip llvm-37dca605c9bd41732da010ee97ed15ad9585a37d.tar.gz llvm-37dca605c9bd41732da010ee97ed15ad9585a37d.tar.bz2 |
[libc++] Clean up includes of <__assert> (#80091)
Originally, we used __libcpp_verbose_abort to handle assertion failures.
That function was declared from all public headers. Since we don't use
that mechanism anymore, we don't need to declare __libcpp_verbose_abort
from all public headers, and we can clean up a lot of unnecessary
includes.
This patch also moves the definition of the various assertion categories
to the <__assert> header, since we now rely on regular IWYU for these
assertion macros.
rdar://105510916
Diffstat (limited to 'libcxx/include/bitset')
-rw-r--r-- | libcxx/include/bitset | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/include/bitset b/libcxx/include/bitset index 95f7a63..8818ab6 100644 --- a/libcxx/include/bitset +++ b/libcxx/include/bitset @@ -129,7 +129,6 @@ template <size_t N> struct hash<std::bitset<N>>; #include <__algorithm/count.h> #include <__algorithm/fill.h> #include <__algorithm/find.h> -#include <__assert> // all public C++ headers provide the assertion handler #include <__bit_reference> #include <__config> #include <__functional/hash.h> |