[libcxx-commits] [libcxx] 5d2511c - [libc++] NFC: Sort header lists and remove outdated comments in modulemap

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 6 11:45:58 PDT 2021


Author: Louis Dionne
Date: 2021-07-06T14:45:52-04:00
New Revision: 5d2511c38988af69af4b4162ef40f2eb0268a610

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

LOG: [libc++] NFC: Sort header lists and remove outdated comments in modulemap

Added: 
    

Modified: 
    libcxx/include/CMakeLists.txt
    libcxx/include/module.modulemap

Removed: 
    


################################################################################
diff  --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt
index cde0604b1a71..f05473bb4348 100644
--- a/libcxx/include/CMakeLists.txt
+++ b/libcxx/include/CMakeLists.txt
@@ -142,16 +142,16 @@ set(files
   __iterator/front_insert_iterator.h
   __iterator/incrementable_traits.h
   __iterator/insert_iterator.h
-  __iterator/istreambuf_iterator.h
   __iterator/istream_iterator.h
-  __iterator/iterator.h
-  __iterator/iterator_traits.h
+  __iterator/istreambuf_iterator.h
   __iterator/iter_move.h
   __iterator/iter_swap.h
+  __iterator/iterator_traits.h
+  __iterator/iterator.h
   __iterator/move_iterator.h
   __iterator/next.h
-  __iterator/ostreambuf_iterator.h
   __iterator/ostream_iterator.h
+  __iterator/ostreambuf_iterator.h
   __iterator/prev.h
   __iterator/projected.h
   __iterator/readable_traits.h

diff  --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap
index 5c0b0f9bd2b9..0e2261d561b5 100644
--- a/libcxx/include/module.modulemap
+++ b/libcxx/include/module.modulemap
@@ -486,16 +486,16 @@ module std [system] {
       module front_insert_iterator { header "__iterator/front_insert_iterator.h" }
       module incrementable_traits  { header "__iterator/incrementable_traits.h" }
       module insert_iterator       { header "__iterator/insert_iterator.h" }
-      module istreambuf_iterator   { header "__iterator/istreambuf_iterator.h" }
       module istream_iterator      { header "__iterator/istream_iterator.h" }
-      module iterator              { header "__iterator/iterator.h" }
-      module iterator_traits       { header "__iterator/iterator_traits.h" }
+      module istreambuf_iterator   { header "__iterator/istreambuf_iterator.h" }
       module iter_move             { header "__iterator/iter_move.h" }
       module iter_swap             { header "__iterator/iter_swap.h" }
+      module iterator              { header "__iterator/iterator.h" }
+      module iterator_traits       { header "__iterator/iterator_traits.h" }
       module move_iterator         { header "__iterator/move_iterator.h" }
       module next                  { header "__iterator/next.h" }
-      module ostreambuf_iterator   { header "__iterator/ostreambuf_iterator.h" }
       module ostream_iterator      { header "__iterator/ostream_iterator.h" }
+      module ostreambuf_iterator   { header "__iterator/ostreambuf_iterator.h" }
       module prev                  { header "__iterator/prev.h" }
       module projected             { header "__iterator/projected.h" }
       module readable_traits       { header "__iterator/readable_traits.h" }
@@ -535,9 +535,9 @@ module std [system] {
     module __memory {
       module addressof                { header "__memory/addressof.h"                }
       module allocation_guard         { header "__memory/allocation_guard.h"         }
-      module allocator_traits         { header "__memory/allocator_traits.h"         }
-      module allocator_arg_t          { header "__memory/allocator_arg_t.h"          }
       module allocator                { header "__memory/allocator.h"                }
+      module allocator_arg_t          { header "__memory/allocator_arg_t.h"          }
+      module allocator_traits         { header "__memory/allocator_traits.h"         }
       module auto_ptr                 { header "__memory/auto_ptr.h"                 }
       module compressed_pair          { header "__memory/compressed_pair.h"          }
       module construct_at             { header "__memory/construct_at.h"             }
@@ -746,8 +746,6 @@ module std [system] {
   }
 
   // __config not modularised due to a bug in Clang
-  // __functional(_03)?_base not modularised since it's designed for textual inclusion
-  // libcpp_version not modularised since it's just a version number
   // FIXME: These should be private.
   module __availability      { header "__availability"      export * }
   module __bit_reference     { header "__bit_reference"     export * }


        


More information about the libcxx-commits mailing list