[libcxx-commits] [PATCH] D116507: [libc++][NFC] Remove duplicate header includes from <algorithm> and reorder them

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 4 07:11:57 PST 2022


philnik updated this revision to Diff 397294.
philnik added a comment.

Poke CI


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116507/new/

https://reviews.llvm.org/D116507

Files:
  libcxx/include/algorithm


Index: libcxx/include/algorithm
===================================================================
--- libcxx/include/algorithm
+++ libcxx/include/algorithm
@@ -645,15 +645,13 @@
 
 */
 
+#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>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116507.397294.patch
Type: text/x-patch
Size: 528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220104/841a002a/attachment-0001.bin>


More information about the libcxx-commits mailing list