[libcxx-commits] [libcxx] 681aa57 - [libc++] NFC: Sort headers in CMakeLists.txt

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 5 06:25:26 PDT 2021


Author: Louis Dionne
Date: 2021-07-05T09:25:15-04:00
New Revision: 681aa574c088525c80396ae46b66ab463a9dba99

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

LOG: [libc++] NFC: Sort headers in CMakeLists.txt

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt
index 2cbf7c6fe56c..0db5c47c4fb8 100644
--- a/libcxx/include/CMakeLists.txt
+++ b/libcxx/include/CMakeLists.txt
@@ -4,76 +4,76 @@ set(files
   __algorithm/any_of.h
   __algorithm/binary_search.h
   __algorithm/clamp.h
-  __algorithm/comp.h
   __algorithm/comp_ref_type.h
+  __algorithm/comp.h
   __algorithm/copy_backward.h
-  __algorithm/copy.h
   __algorithm/copy_if.h
   __algorithm/copy_n.h
-  __algorithm/count.h
+  __algorithm/copy.h
   __algorithm/count_if.h
-  __algorithm/equal.h
+  __algorithm/count.h
   __algorithm/equal_range.h
+  __algorithm/equal.h
   __algorithm/fill_n.h
   __algorithm/fill.h
-  __algorithm/find.h
   __algorithm/find_end.h
   __algorithm/find_first_of.h
-  __algorithm/find_if.h
   __algorithm/find_if_not.h
-  __algorithm/for_each.h
+  __algorithm/find_if.h
+  __algorithm/find.h
   __algorithm/for_each_n.h
+  __algorithm/for_each.h
   __algorithm/generate_n.h
   __algorithm/generate.h
   __algorithm/half_positive.h
   __algorithm/includes.h
   __algorithm/inplace_merge.h
-  __algorithm/is_heap.h
   __algorithm/is_heap_until.h
+  __algorithm/is_heap.h
   __algorithm/is_partitioned.h
   __algorithm/is_permutation.h
-  __algorithm/is_sorted.h
   __algorithm/is_sorted_until.h
+  __algorithm/is_sorted.h
   __algorithm/iter_swap.h
   __algorithm/lexicographical_compare.h
   __algorithm/lower_bound.h
   __algorithm/make_heap.h
-  __algorithm/max.h
   __algorithm/max_element.h
+  __algorithm/max.h
   __algorithm/merge.h
-  __algorithm/min.h
   __algorithm/min_element.h
-  __algorithm/minmax.h
+  __algorithm/min.h
   __algorithm/minmax_element.h
+  __algorithm/minmax.h
   __algorithm/mismatch.h
   __algorithm/move_backward.h
   __algorithm/move.h
   __algorithm/next_permutation.h
   __algorithm/none_of.h
   __algorithm/nth_element.h
-  __algorithm/partial_sort.h
   __algorithm/partial_sort_copy.h
-  __algorithm/partition.h
+  __algorithm/partial_sort.h
   __algorithm/partition_copy.h
   __algorithm/partition_point.h
+  __algorithm/partition.h
   __algorithm/pop_heap.h
   __algorithm/prev_permutation.h
   __algorithm/push_heap.h
-  __algorithm/remove.h
-  __algorithm/remove_copy.h
   __algorithm/remove_copy_if.h
+  __algorithm/remove_copy.h
   __algorithm/remove_if.h
-  __algorithm/replace.h
-  __algorithm/replace_copy.h
+  __algorithm/remove.h
   __algorithm/replace_copy_if.h
+  __algorithm/replace_copy.h
   __algorithm/replace_if.h
-  __algorithm/reverse.h
+  __algorithm/replace.h
   __algorithm/reverse_copy.h
-  __algorithm/rotate.h
+  __algorithm/reverse.h
   __algorithm/rotate_copy.h
+  __algorithm/rotate.h
   __algorithm/sample.h
-  __algorithm/search.h
   __algorithm/search_n.h
+  __algorithm/search.h
   __algorithm/set_
diff erence.h
   __algorithm/set_intersection.h
   __algorithm/set_symmetric_
diff erence.h
@@ -82,8 +82,8 @@ set(files
   __algorithm/shift_right.h
   __algorithm/shuffle.h
   __algorithm/sift_down.h
-  __algorithm/sort.h
   __algorithm/sort_heap.h
+  __algorithm/sort.h
   __algorithm/stable_partition.h
   __algorithm/stable_sort.h
   __algorithm/swap_ranges.h
@@ -156,9 +156,9 @@ set(files
   __locale
   __memory/addressof.h
   __memory/allocation_guard.h
-  __memory/allocator.h
   __memory/allocator_arg_t.h
   __memory/allocator_traits.h
+  __memory/allocator.h
   __memory/auto_ptr.h
   __memory/compressed_pair.h
   __memory/construct_at.h
@@ -179,17 +179,38 @@ set(files
   __ranges/concepts.h
   __ranges/data.h
   __ranges/drop_view.h
-  __ranges/empty.h
   __ranges/empty_view.h
+  __ranges/empty.h
   __ranges/enable_borrowed_range.h
   __ranges/enable_view.h
-  __ranges/view_interface.h
   __ranges/ref_view.h
   __ranges/size.h
   __ranges/subrange.h
+  __ranges/view_interface.h
   __split_buffer
   __std_stream
   __string
+  __support/android/locale_bionic.h
+  __support/fuchsia/xlocale.h
+  __support/ibm/gettod_zos.h
+  __support/ibm/limits.h
+  __support/ibm/locale_mgmt_aix.h
+  __support/ibm/locale_mgmt_zos.h
+  __support/ibm/nanosleep.h
+  __support/ibm/support.h
+  __support/ibm/xlocale.h
+  __support/musl/xlocale.h
+  __support/newlib/xlocale.h
+  __support/nuttx/xlocale.h
+  __support/openbsd/xlocale.h
+  __support/solaris/floatingpoint.h
+  __support/solaris/wchar.h
+  __support/solaris/xlocale.h
+  __support/win32/limits_msvc_win32.h
+  __support/win32/locale_win32.h
+  __support/xlocale/__nop_locale_mgmt.h
+  __support/xlocale/__posix_l_fallback.h
+  __support/xlocale/__strtonum_fallback.h
   __threading_support
   __tree
   __tuple
@@ -312,8 +333,8 @@ set(files
   queue
   random
   ranges
-  ratio
   ranges
+  ratio
   regex
   scoped_allocator
   semaphore
@@ -331,30 +352,9 @@ set(files
   stdlib.h
   streambuf
   string
-  string.h
   string_view
+  string.h
   strstream
-  __support/android/locale_bionic.h
-  __support/fuchsia/xlocale.h
-  __support/ibm/gettod_zos.h
-  __support/ibm/limits.h
-  __support/ibm/locale_mgmt_aix.h
-  __support/ibm/locale_mgmt_zos.h
-  __support/ibm/nanosleep.h
-  __support/ibm/support.h
-  __support/ibm/xlocale.h
-  __support/musl/xlocale.h
-  __support/newlib/xlocale.h
-  __support/nuttx/xlocale.h
-  __support/openbsd/xlocale.h
-  __support/solaris/floatingpoint.h
-  __support/solaris/wchar.h
-  __support/solaris/xlocale.h
-  __support/win32/limits_msvc_win32.h
-  __support/win32/locale_win32.h
-  __support/xlocale/__nop_locale_mgmt.h
-  __support/xlocale/__posix_l_fallback.h
-  __support/xlocale/__strtonum_fallback.h
   system_error
   tgmath.h
   thread

diff  --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap
index 7549815d4d9e..78d28890517e 100644
--- a/libcxx/include/module.modulemap
+++ b/libcxx/include/module.modulemap
@@ -234,8 +234,8 @@ module std [system] {
       module count_if                 { header "__algorithm/count_if.h" }
       module equal                    { header "__algorithm/equal.h" }
       module equal_range              { header "__algorithm/equal_range.h" }
-      module fill_n                   { header "__algorithm/fill_n.h" }
       module fill                     { header "__algorithm/fill.h" }
+      module fill_n                   { header "__algorithm/fill_n.h" }
       module find                     { header "__algorithm/find.h" }
       module find_end                 { header "__algorithm/find_end.h" }
       module find_first_of            { header "__algorithm/find_first_of.h" }
@@ -243,8 +243,8 @@ module std [system] {
       module find_if_not              { header "__algorithm/find_if_not.h" }
       module for_each                 { header "__algorithm/for_each.h" }
       module for_each_n               { header "__algorithm/for_each_n.h" }
-      module generate_n               { header "__algorithm/generate_n.h" }
       module generate                 { header "__algorithm/generate.h" }
+      module generate_n               { header "__algorithm/generate_n.h" }
       module half_positive            { header "__algorithm/half_positive.h" }
       module includes                 { header "__algorithm/includes.h" }
       module inplace_merge            { header "__algorithm/inplace_merge.h" }
@@ -286,10 +286,10 @@ module std [system] {
       module replace_copy             { header "__algorithm/replace_copy.h" }
       module replace_copy_if          { header "__algorithm/replace_copy_if.h" }
       module replace_if               { header "__algorithm/replace_if.h" }
-      module reverse_copy             { header "__algorithm/reverse_copy.h" }
       module reverse                  { header "__algorithm/reverse.h" }
-      module rotate_copy              { header "__algorithm/rotate_copy.h" }
+      module reverse_copy             { header "__algorithm/reverse_copy.h" }
       module rotate                   { header "__algorithm/rotate.h" }
+      module rotate_copy              { header "__algorithm/rotate_copy.h" }
       module sample                   { header "__algorithm/sample.h" }
       module search                   { header "__algorithm/search.h" }
       module search_n                 { header "__algorithm/search_n.h" }
@@ -306,8 +306,8 @@ module std [system] {
       module stable_partition         { header "__algorithm/stable_partition.h" }
       module stable_sort              { header "__algorithm/stable_sort.h" }
       module transform                { header "__algorithm/transform.h" }
-      module unique_copy              { header "__algorithm/unique_copy.h" }
       module unique                   { header "__algorithm/unique.h" }
+      module unique_copy              { header "__algorithm/unique_copy.h" }
       module unwrap_iter              { header "__algorithm/unwrap_iter.h" }
       module upper_bound              { header "__algorithm/upper_bound.h" }
     }


        


More information about the libcxx-commits mailing list