[libcxx-commits] [libcxx] e27f364 - [libc++] IWYU to fix Modules complaints in <__ranges/reverse_view.h>.

Arthur O'Dwyer via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 10 19:03:12 PDT 2021


Author: Arthur O'Dwyer
Date: 2021-08-10T22:02:41-04:00
New Revision: e27f364c61b03fe8b76fcd5ccd9a6a6a1805c805

URL: https://github.com/llvm/llvm-project/commit/e27f364c61b03fe8b76fcd5ccd9a6a6a1805c805
DIFF: https://github.com/llvm/llvm-project/commit/e27f364c61b03fe8b76fcd5ccd9a6a6a1805c805.diff

LOG: [libc++] IWYU to fix Modules complaints in <__ranges/reverse_view.h>.

And now we can use granular concepts headers!

Added: 
    

Modified: 
    libcxx/include/__ranges/reverse_view.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__ranges/reverse_view.h b/libcxx/include/__ranges/reverse_view.h
index 25d3d6568cd5..5953f74fd77d 100644
--- a/libcxx/include/__ranges/reverse_view.h
+++ b/libcxx/include/__ranges/reverse_view.h
@@ -9,6 +9,7 @@
 #ifndef _LIBCPP___RANGES_REVERSE_VIEW_H
 #define _LIBCPP___RANGES_REVERSE_VIEW_H
 
+#include <__concepts/constructible.h>
 #include <__config>
 #include <__iterator/concepts.h>
 #include <__iterator/next.h>
@@ -20,7 +21,7 @@
 #include <__ranges/non_propagating_cache.h>
 #include <__ranges/size.h>
 #include <__ranges/view_interface.h>
-#include <concepts>
+#include <__utility/move.h>
 #include <type_traits>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)


        


More information about the libcxx-commits mailing list