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/algorithm | |
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/algorithm')
-rw-r--r-- | libcxx/include/algorithm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index 70e30bc..0f62de7 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm @@ -1793,7 +1793,6 @@ template <class BidirectionalIterator, class Compare> */ -#include <__assert> // all public C++ headers provide the assertion handler #include <__config> #include <version> |