[libcxx-commits] [libcxx] 4004fb6 - [NFC][libc++] Uses the new way to mark Standard includes.

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sat Sep 3 04:36:32 PDT 2022


Author: Mark de Wever
Date: 2022-09-03T13:35:48+02:00
New Revision: 4004fb6453d9cee1fc0160d6ebac62fa8e898131

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

LOG: [NFC][libc++] Uses the new way to mark Standard includes.

Added: 
    

Modified: 
    libcxx/include/ranges

Removed: 
    


################################################################################
diff  --git a/libcxx/include/ranges b/libcxx/include/ranges
index 82378a6b0daa..0129f295cfa1 100644
--- a/libcxx/include/ranges
+++ b/libcxx/include/ranges
@@ -303,12 +303,14 @@ namespace std {
 #include <__ranges/views.h>
 #include <__ranges/zip_view.h>
 #include <__tuple> // TODO: <ranges> has to export std::tuple_size. Replace this, once <tuple> is granularized.
-#include <compare>          // Required by the standard.
-#include <initializer_list> // Required by the standard.
-#include <iterator>         // Required by the standard.
 #include <type_traits>
 #include <version>
 
+// standard-mandated includes
+#include <compare>
+#include <initializer_list>
+#include <iterator>
+
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
 #endif


        


More information about the libcxx-commits mailing list