[libcxx-commits] [PATCH] D104414: [libcxx][iwyu] 🎨 adds more headers to IWYU

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 16 12:12:22 PDT 2021


cjdb created this revision.
cjdb added reviewers: ldionne, zoecarver, Mordante.
cjdb requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

A few slipped through the cracks because D104175 <https://reviews.llvm.org/D104175> and D104170 <https://reviews.llvm.org/D104170> didn't
concern themselves with newer commits.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104414

Files:
  libcxx/include/__ranges/empty_view.h
  libcxx/include/__ranges/ref_view.h
  libcxx/include/__ranges/subrange.h


Index: libcxx/include/__ranges/subrange.h
===================================================================
--- libcxx/include/__ranges/subrange.h
+++ libcxx/include/__ranges/subrange.h
@@ -11,11 +11,16 @@
 
 #include <__config>
 #include <__iterator/concepts.h>
+#include <__iterator/incrementable_traits.h>
 #include <__iterator/iterator_traits.h>
 #include <__iterator/advance.h>
 #include <__ranges/access.h>
+#include <__ranges/concepts.h>
 #include <__ranges/enable_borrowed_range.h>
+#include <__ranges/size.h>
+#include <__ranges/subrange.h>
 #include <__ranges/view_interface.h>
+#include <concepts>
 #include <type_traits>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Index: libcxx/include/__ranges/ref_view.h
===================================================================
--- libcxx/include/__ranges/ref_view.h
+++ libcxx/include/__ranges/ref_view.h
@@ -11,10 +11,15 @@
 
 #include <__config>
 #include <__iterator/concepts.h>
+#include <__iterator/incrementable_traits.h>
 #include <__iterator/iterator_traits.h>
 #include <__ranges/access.h>
+#include <__ranges/concepts.h>
 #include <__ranges/data.h>
+#include <__ranges/empty.h>
+#include <__ranges/size.h>
 #include <__ranges/view_interface.h>
+#include <concepts>
 #include <type_traits>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Index: libcxx/include/__ranges/empty_view.h
===================================================================
--- libcxx/include/__ranges/empty_view.h
+++ libcxx/include/__ranges/empty_view.h
@@ -11,6 +11,7 @@
 
 #include <__config>
 #include <__ranges/view_interface.h>
+#include <type_traits>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104414.352510.patch
Type: text/x-patch
Size: 1700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210616/be28051d/attachment.bin>


More information about the libcxx-commits mailing list