aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/bitset
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2023-01-08 16:47:53 +0100
committerNikolas Klauser <nikolasklauser@berlin.de>2023-04-09 02:52:33 +0200
commit75196f8e72be3f18c5a831e23f385c4ae3eb62b5 (patch)
tree608ade973b08a478578de2baf7bb238226e03529 /libcxx/include/bitset
parent2c7f5118772d1168819f4850206ebc59881d93bb (diff)
downloadllvm-75196f8e72be3f18c5a831e23f385c4ae3eb62b5.zip
llvm-75196f8e72be3f18c5a831e23f385c4ae3eb62b5.tar.gz
llvm-75196f8e72be3f18c5a831e23f385c4ae3eb62b5.tar.bz2
[libc++] Remove <cstdlib> includes
We changed the `abort` calls when trying to throw exceptions in `-fno-exceptions` mode to `__verbose_abort` calls, which removes the dependency in most files. Reviewed By: ldionne, #libc Spies: dim, emaste, mikhail.ramalho, smeenai, libcxx-commits Differential Revision: https://reviews.llvm.org/D146076
Diffstat (limited to 'libcxx/include/bitset')
-rw-r--r--libcxx/include/bitset1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/bitset b/libcxx/include/bitset
index ac866fa..fc8ffb8 100644
--- a/libcxx/include/bitset
+++ b/libcxx/include/bitset
@@ -1154,6 +1154,7 @@ _LIBCPP_POP_MACROS
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
# include <concepts>
+# include <cstdlib>
# include <type_traits>
#endif