[libcxx-commits] [PATCH] D141833: [libcxx] Add missing includes

Michael Buch via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 16 03:07:13 PST 2023


Michael137 updated this revision to Diff 489482.
Michael137 added a comment.

- Fix header llvm-include-order clang-tidy warning


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141833

Files:
  libcxx/include/__iterator/bounded_iter.h
  libcxx/include/__iterator/move_iterator.h


Index: libcxx/include/__iterator/move_iterator.h
===================================================================
--- libcxx/include/__iterator/move_iterator.h
+++ libcxx/include/__iterator/move_iterator.h
@@ -28,8 +28,10 @@
 #include <__type_traits/enable_if.h>
 #include <__type_traits/is_assignable.h>
 #include <__type_traits/is_constructible.h>
+#include <__type_traits/is_convertible.h>
 #include <__type_traits/is_reference.h>
 #include <__type_traits/is_same.h>
+#include <__type_traits/remove_reference.h>
 #include <__utility/declval.h>
 #include <__utility/move.h>
 
Index: libcxx/include/__iterator/bounded_iter.h
===================================================================
--- libcxx/include/__iterator/bounded_iter.h
+++ libcxx/include/__iterator/bounded_iter.h
@@ -15,6 +15,7 @@
 #include <__iterator/iterator_traits.h>
 #include <__memory/pointer_traits.h>
 #include <__type_traits/enable_if.h>
+#include <__type_traits/integral_constant.h>
 #include <__type_traits/is_convertible.h>
 #include <__utility/move.h>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141833.489482.patch
Type: text/x-patch
Size: 1042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230116/18fac89f/attachment-0001.bin>


More information about the libcxx-commits mailing list