aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2022-01-03 01:24:09 +0100
committerNikolas Klauser <nikolasklauser@berlin.de>2022-01-05 09:06:53 +0100
commitcf54cb2e038300a1c65b9692716e09c5c79b43cc (patch)
tree9f10301eaceadd8cfb08d6a737ed5b06b196f68b /libcxx/include/algorithm
parent6025ee79ae9a9b90e53fc5ebd5d780da0cd45b4c (diff)
downloadllvm-cf54cb2e038300a1c65b9692716e09c5c79b43cc.zip
llvm-cf54cb2e038300a1c65b9692716e09c5c79b43cc.tar.gz
llvm-cf54cb2e038300a1c65b9692716e09c5c79b43cc.tar.bz2
[libc++][NFC] Remove duplicate header includes from <algorithm> and reorder them
Remove duplicate header includes from `<algorithm>` and reorder the includes Reviewed By: Quuxplusone, ldionne, Mordante, #libc, jloser Spies: jloser, libcxx-commits Differential Revision: https://reviews.llvm.org/D116507
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r--libcxx/include/algorithm4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm
index b28c8cd..83bf8df 100644
--- a/libcxx/include/algorithm
+++ b/libcxx/include/algorithm
@@ -645,15 +645,13 @@ template <class BidirectionalIterator, class Compare>
*/
+#include <__bits> // __libcpp_clz
#include <__config>
#include <__debug>
-#include <__bits> // __libcpp_clz
#include <cstddef>
#include <cstring>
#include <functional>
#include <initializer_list>
-#include <utility> // needed to provide swap_ranges.
-#include <memory>
#include <iterator>
#include <memory>
#include <type_traits>