Skip to content

Commit 99e52b6

Browse files
committed
[libc++] Fix generate_ignore_format.sh and regenerate the file.
The script incorrectly produced double slashes in paths, e.g. `libcxx/src//thread.cpp`.
1 parent 0ae342f commit 99e52b6

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

libcxx/utils/data/ignore_format.txt

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ libcxx/include/__algorithm/ranges_minmax.h
141141
libcxx/include/__algorithm/ranges_mismatch.h
142142
libcxx/include/__algorithm/ranges_move_backward.h
143143
libcxx/include/__algorithm/ranges_move.h
144+
libcxx/include/__algorithm/ranges_next_permutation.h
144145
libcxx/include/__algorithm/ranges_none_of.h
145146
libcxx/include/__algorithm/ranges_nth_element.h
146147
libcxx/include/__algorithm/ranges_partial_sort_copy.h
@@ -205,6 +206,7 @@ libcxx/include/__algorithm/sort_heap.h
205206
libcxx/include/__algorithm/stable_partition.h
206207
libcxx/include/__algorithm/stable_sort.h
207208
libcxx/include/__algorithm/swap_ranges.h
209+
libcxx/include/__algorithm/three_way_comp_ref_type.h
208210
libcxx/include/__algorithm/transform.h
209211
libcxx/include/__algorithm/uniform_random_bit_generator_adaptor.h
210212
libcxx/include/__algorithm/unwrap_iter.h
@@ -252,6 +254,7 @@ libcxx/include/__chrono/literals.h
252254
libcxx/include/__chrono/monthday.h
253255
libcxx/include/__chrono/month.h
254256
libcxx/include/__chrono/month_weekday.h
257+
libcxx/include/__chrono/statically_widen.h
255258
libcxx/include/__chrono/steady_clock.h
256259
libcxx/include/__chrono/system_clock.h
257260
libcxx/include/__chrono/time_point.h
@@ -271,6 +274,7 @@ libcxx/include/__compare/compare_weak_order_fallback.h
271274
libcxx/include/__compare/ordering.h
272275
libcxx/include/__compare/partial_order.h
273276
libcxx/include/__compare/strong_order.h
277+
libcxx/include/__compare/synth_three_way.h
274278
libcxx/include/__compare/three_way_comparable.h
275279
libcxx/include/__compare/weak_order.h
276280
libcxx/include/complex
@@ -309,9 +313,11 @@ libcxx/include/__debug
309313
libcxx/include/__debug_utils/randomize_range.h
310314
libcxx/include/deque
311315
libcxx/include/errno.h
316+
libcxx/include/__exception/exception_ptr.h
312317
libcxx/include/execution
313318
libcxx/include/expected
314319
libcxx/include/__expected/expected.h
320+
libcxx/include/__expected/unexpected.h
315321
libcxx/include/experimental/__config
316322
libcxx/include/experimental/iterator
317323
libcxx/include/experimental/map
@@ -369,6 +375,8 @@ libcxx/include/__format/formatter_output.h
369375
libcxx/include/__format/formatter_pointer.h
370376
libcxx/include/__format/formatter_string.h
371377
libcxx/include/__format/parser_std_format_spec.h
378+
libcxx/include/__format/range_default_formatter.h
379+
libcxx/include/__format/range_formatter.h
372380
libcxx/include/__format/unicode.h
373381
libcxx/include/forward_list
374382
libcxx/include/fstream
@@ -432,6 +440,7 @@ libcxx/include/__iterator/istreambuf_iterator.h
432440
libcxx/include/__iterator/istream_iterator.h
433441
libcxx/include/__iterator/iterator.h
434442
libcxx/include/__iterator/iterator_traits.h
443+
libcxx/include/__iterator/iterator_with_data.h
435444
libcxx/include/__iterator/iter_move.h
436445
libcxx/include/__iterator/iter_swap.h
437446
libcxx/include/__iterator/mergeable.h
@@ -545,12 +554,15 @@ libcxx/include/__random/weibull_distribution.h
545554
libcxx/include/ranges
546555
libcxx/include/__ranges/access.h
547556
libcxx/include/__ranges/all.h
557+
libcxx/include/__ranges/as_rvalue_view.h
548558
libcxx/include/__ranges/common_view.h
549559
libcxx/include/__ranges/concepts.h
550560
libcxx/include/__ranges/copyable_box.h
551561
libcxx/include/__ranges/counted.h
552562
libcxx/include/__ranges/data.h
553563
libcxx/include/__ranges/drop_view.h
564+
libcxx/include/__ranges/drop_while_view.h
565+
libcxx/include/__ranges/elements_view.h
554566
libcxx/include/__ranges/empty.h
555567
libcxx/include/__ranges/empty_view.h
556568
libcxx/include/__ranges/enable_view.h
@@ -568,8 +580,10 @@ libcxx/include/__ranges/rend.h
568580
libcxx/include/__ranges/reverse_view.h
569581
libcxx/include/__ranges/single_view.h
570582
libcxx/include/__ranges/size.h
583+
libcxx/include/__ranges/split_view.h
571584
libcxx/include/__ranges/subrange.h
572585
libcxx/include/__ranges/take_view.h
586+
libcxx/include/__ranges/take_while_view.h
573587
libcxx/include/__ranges/transform_view.h
574588
libcxx/include/__ranges/view_interface.h
575589
libcxx/include/__ranges/views.h
@@ -610,6 +624,9 @@ libcxx/include/__support/solaris/xlocale.h
610624
libcxx/include/__support/win32/locale_win32.h
611625
libcxx/include/__support/xlocale/__nop_locale_mgmt.h
612626
libcxx/include/__system_error/errc.h
627+
libcxx/include/__system_error/error_category.h
628+
libcxx/include/__system_error/error_code.h
629+
libcxx/include/__system_error/error_condition.h
613630
libcxx/include/thread
614631
libcxx/include/__threading_support
615632
libcxx/include/__thread/poll_with_backoff.h
@@ -793,9 +810,9 @@ libcxx/src/include/ryu/ryu.h
793810
libcxx/src/include/sso_allocator.h
794811
libcxx/src/ios.cpp
795812
libcxx/src/iostream.cpp
796-
libcxx/src/legacy_debug_handler.cpp
797813
libcxx/src/locale.cpp
798814
libcxx/src/memory.cpp
815+
libcxx/src/memory_resource.cpp
799816
libcxx/src/mutex.cpp
800817
libcxx/src/mutex_destructor.cpp
801818
libcxx/src/new.cpp

libcxx/utils/generate_ignore_format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rm libcxx/utils/data/ignore_format.txt
1212
# Since it's hard to match empty extensions the following
1313
# method is used, remove all files with an extension, then
1414
# add the list of extensions that should be formatted.
15-
for file in $(find libcxx/{benchmarks,include,src}/ -type f -not -name '*.*' -or \( \
15+
for file in $(find libcxx/{benchmarks,include,src} -type f -not -name '*.*' -or \( \
1616
-name "*.h" -or -name "*.hpp" -or \
1717
-name "*.c" -or -name "*.cpp" -or \
1818
-name "*.inc" -or -name "*.ipp" \

0 commit comments

Comments
 (0)