aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2022-09-02 16:24:11 +0200
committerNikolas Klauser <nikolasklauser@berlin.de>2022-09-02 21:42:41 +0200
commit30adaa730c4768b5eb06719c808b2884fcf53cf3 (patch)
treeaf3316ae8e38b04c2adf3b6c2a5bfd641cde0be8 /libcxx/include/algorithm
parent2f7da9d317c9e390aee1f68cdcf4da48e180aec4 (diff)
downloadllvm-30adaa730c4768b5eb06719c808b2884fcf53cf3.zip
llvm-30adaa730c4768b5eb06719c808b2884fcf53cf3.tar.gz
llvm-30adaa730c4768b5eb06719c808b2884fcf53cf3.tar.bz2
[libc++] Granularize the rest of memory
Reviewed By: ldionne, #libc Spies: libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D132790
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r--libcxx/include/algorithm7
1 files changed, 5 insertions, 2 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm
index 0b54fb9..0dd8002 100644
--- a/libcxx/include/algorithm
+++ b/libcxx/include/algorithm
@@ -1709,7 +1709,6 @@ template <class BidirectionalIterator, class Compare>
#include <__debug>
#include <cstddef>
#include <cstring>
-#include <memory>
#include <type_traits>
#include <version>
@@ -1904,7 +1903,11 @@ template <class BidirectionalIterator, class Compare>
#endif
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
+# include <atomic>
+# include <chrono>
# include <iterator>
+# include <memory>
+# include <stdexcept>
# include <utility>
#endif
@@ -1916,7 +1919,7 @@ template <class BidirectionalIterator, class Compare>
#endif
#if defined(_LIBCPP_HAS_PARALLEL_ALGORITHMS) && _LIBCPP_STD_VER >= 17
-# include <__pstl_algorithm>
+# include <__pstl_algorithm>
#endif
#endif // _LIBCPP_ALGORITHM