[all-commits] [llvm/llvm-project] 9783f2: [libc++] Format the code base (#74334)

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Dec 18 11:01:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9783f28cbb155e4a8d49c12e1c60ce14dcfaf0c7
      https://github.com/llvm/llvm-project/commit/9783f28cbb155e4a8d49c12e1c60ce14dcfaf0c7
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    A .gitattributes
    M libcxx/include/__algorithm/binary_search.h
    M libcxx/include/__algorithm/comp_ref_type.h
    M libcxx/include/__algorithm/copy_backward.h
    M libcxx/include/__algorithm/copy_if.h
    M libcxx/include/__algorithm/copy_move_common.h
    M libcxx/include/__algorithm/copy_n.h
    M libcxx/include/__algorithm/equal.h
    M libcxx/include/__algorithm/equal_range.h
    M libcxx/include/__algorithm/fill.h
    M libcxx/include/__algorithm/fill_n.h
    M libcxx/include/__algorithm/find_end.h
    M libcxx/include/__algorithm/find_first_of.h
    M libcxx/include/__algorithm/for_each_n.h
    M libcxx/include/__algorithm/generate.h
    M libcxx/include/__algorithm/generate_n.h
    M libcxx/include/__algorithm/half_positive.h
    M libcxx/include/__algorithm/in_found_result.h
    M libcxx/include/__algorithm/in_fun_result.h
    M libcxx/include/__algorithm/in_in_out_result.h
    M libcxx/include/__algorithm/in_in_result.h
    M libcxx/include/__algorithm/in_out_out_result.h
    M libcxx/include/__algorithm/in_out_result.h
    M libcxx/include/__algorithm/includes.h
    M libcxx/include/__algorithm/inplace_merge.h
    M libcxx/include/__algorithm/is_heap.h
    M libcxx/include/__algorithm/is_heap_until.h
    M libcxx/include/__algorithm/is_partitioned.h
    M libcxx/include/__algorithm/is_permutation.h
    M libcxx/include/__algorithm/is_sorted.h
    M libcxx/include/__algorithm/is_sorted_until.h
    M libcxx/include/__algorithm/iter_swap.h
    M libcxx/include/__algorithm/iterator_operations.h
    M libcxx/include/__algorithm/lexicographical_compare.h
    M libcxx/include/__algorithm/lower_bound.h
    M libcxx/include/__algorithm/make_heap.h
    M libcxx/include/__algorithm/make_projected.h
    M libcxx/include/__algorithm/max.h
    M libcxx/include/__algorithm/max_element.h
    M libcxx/include/__algorithm/merge.h
    M libcxx/include/__algorithm/min.h
    M libcxx/include/__algorithm/min_element.h
    M libcxx/include/__algorithm/min_max_result.h
    M libcxx/include/__algorithm/minmax.h
    M libcxx/include/__algorithm/minmax_element.h
    M libcxx/include/__algorithm/mismatch.h
    M libcxx/include/__algorithm/move.h
    M libcxx/include/__algorithm/move_backward.h
    M libcxx/include/__algorithm/next_permutation.h
    M libcxx/include/__algorithm/nth_element.h
    M libcxx/include/__algorithm/partial_sort.h
    M libcxx/include/__algorithm/partial_sort_copy.h
    M libcxx/include/__algorithm/partition.h
    M libcxx/include/__algorithm/partition_copy.h
    M libcxx/include/__algorithm/partition_point.h
    M libcxx/include/__algorithm/pop_heap.h
    M libcxx/include/__algorithm/prev_permutation.h
    M libcxx/include/__algorithm/push_heap.h
    M libcxx/include/__algorithm/remove.h
    M libcxx/include/__algorithm/remove_copy.h
    M libcxx/include/__algorithm/remove_copy_if.h
    M libcxx/include/__algorithm/remove_if.h
    M libcxx/include/__algorithm/replace.h
    M libcxx/include/__algorithm/replace_copy.h
    M libcxx/include/__algorithm/replace_copy_if.h
    M libcxx/include/__algorithm/replace_if.h
    M libcxx/include/__algorithm/reverse.h
    M libcxx/include/__algorithm/reverse_copy.h
    M libcxx/include/__algorithm/rotate.h
    M libcxx/include/__algorithm/rotate_copy.h
    M libcxx/include/__algorithm/sample.h
    M libcxx/include/__algorithm/search.h
    M libcxx/include/__algorithm/search_n.h
    M libcxx/include/__algorithm/set_difference.h
    M libcxx/include/__algorithm/shift_left.h
    M libcxx/include/__algorithm/shift_right.h
    M libcxx/include/__algorithm/shuffle.h
    M libcxx/include/__algorithm/sift_down.h
    M libcxx/include/__algorithm/sort.h
    M libcxx/include/__algorithm/sort_heap.h
    M libcxx/include/__algorithm/stable_partition.h
    M libcxx/include/__algorithm/stable_sort.h
    M libcxx/include/__algorithm/swap_ranges.h
    M libcxx/include/__algorithm/transform.h
    M libcxx/include/__algorithm/uniform_random_bit_generator_adaptor.h
    M libcxx/include/__algorithm/unwrap_iter.h
    M libcxx/include/__atomic/atomic.h
    M libcxx/include/__atomic/atomic_base.h
    M libcxx/include/__atomic/atomic_flag.h
    M libcxx/include/__atomic/atomic_lock_free.h
    M libcxx/include/__atomic/atomic_sync.h
    M libcxx/include/__atomic/check_memory_order.h
    M libcxx/include/__atomic/contention_t.h
    M libcxx/include/__atomic/cxx_atomic_impl.h
    M libcxx/include/__atomic/fence.h
    M libcxx/include/__atomic/kill_dependency.h
    M libcxx/include/__atomic/memory_order.h
    M libcxx/include/__availability
    M libcxx/include/__bit/bit_cast.h
    M libcxx/include/__bit/bit_ceil.h
    M libcxx/include/__bit/byteswap.h
    M libcxx/include/__bit/countl.h
    M libcxx/include/__bit/countr.h
    M libcxx/include/__bit/endian.h
    M libcxx/include/__bit/popcount.h
    M libcxx/include/__chrono/calendar.h
    M libcxx/include/__chrono/convert_to_timespec.h
    M libcxx/include/__chrono/day.h
    M libcxx/include/__chrono/duration.h
    M libcxx/include/__chrono/file_clock.h
    M libcxx/include/__chrono/formatter.h
    M libcxx/include/__chrono/hh_mm_ss.h
    M libcxx/include/__chrono/high_resolution_clock.h
    M libcxx/include/__chrono/literals.h
    M libcxx/include/__chrono/month.h
    M libcxx/include/__chrono/month_weekday.h
    M libcxx/include/__chrono/monthday.h
    M libcxx/include/__chrono/steady_clock.h
    M libcxx/include/__chrono/system_clock.h
    M libcxx/include/__chrono/time_point.h
    M libcxx/include/__chrono/weekday.h
    M libcxx/include/__chrono/year.h
    M libcxx/include/__chrono/year_month.h
    M libcxx/include/__chrono/year_month_day.h
    M libcxx/include/__chrono/year_month_weekday.h
    M libcxx/include/__compare/common_comparison_category.h
    M libcxx/include/__compare/compare_partial_order_fallback.h
    M libcxx/include/__compare/compare_strong_order_fallback.h
    M libcxx/include/__compare/compare_three_way.h
    M libcxx/include/__compare/compare_three_way_result.h
    M libcxx/include/__compare/compare_weak_order_fallback.h
    M libcxx/include/__compare/ordering.h
    M libcxx/include/__compare/partial_order.h
    M libcxx/include/__compare/strong_order.h
    M libcxx/include/__compare/three_way_comparable.h
    M libcxx/include/__compare/weak_order.h
    M libcxx/include/__config
    M libcxx/include/__coroutine/coroutine_handle.h
    M libcxx/include/__coroutine/coroutine_traits.h
    M libcxx/include/__coroutine/noop_coroutine_handle.h
    M libcxx/include/__coroutine/trivial_awaitables.h
    M libcxx/include/__debug_utils/randomize_range.h
    M libcxx/include/__expected/expected.h
    M libcxx/include/__filesystem/copy_options.h
    M libcxx/include/__filesystem/directory_entry.h
    M libcxx/include/__filesystem/directory_iterator.h
    M libcxx/include/__filesystem/directory_options.h
    M libcxx/include/__filesystem/file_status.h
    M libcxx/include/__filesystem/file_type.h
    M libcxx/include/__filesystem/operations.h
    M libcxx/include/__filesystem/path.h
    M libcxx/include/__filesystem/path_iterator.h
    M libcxx/include/__filesystem/perm_options.h
    M libcxx/include/__filesystem/perms.h
    M libcxx/include/__filesystem/recursive_directory_iterator.h
    M libcxx/include/__filesystem/u8path.h
    M libcxx/include/__format/buffer.h
    M libcxx/include/__format/concepts.h
    M libcxx/include/__format/format_arg.h
    M libcxx/include/__format/format_arg_store.h
    M libcxx/include/__format/format_args.h
    M libcxx/include/__format/format_context.h
    M libcxx/include/__format/format_error.h
    M libcxx/include/__format/format_functions.h
    M libcxx/include/__format/format_parse_context.h
    M libcxx/include/__format/format_string.h
    M libcxx/include/__format/formatter.h
    M libcxx/include/__format/formatter_floating_point.h
    M libcxx/include/__format/formatter_integer.h
    M libcxx/include/__format/formatter_integral.h
    M libcxx/include/__format/formatter_output.h
    M libcxx/include/__format/formatter_pointer.h
    M libcxx/include/__format/formatter_string.h
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/__format/unicode.h
    M libcxx/include/__format/write_escaped.h
    M libcxx/include/__functional/binary_function.h
    M libcxx/include/__functional/binary_negate.h
    M libcxx/include/__functional/bind.h
    M libcxx/include/__functional/bind_back.h
    M libcxx/include/__functional/bind_front.h
    M libcxx/include/__functional/binder1st.h
    M libcxx/include/__functional/binder2nd.h
    M libcxx/include/__functional/boyer_moore_searcher.h
    M libcxx/include/__functional/compose.h
    M libcxx/include/__functional/default_searcher.h
    M libcxx/include/__functional/function.h
    M libcxx/include/__functional/hash.h
    M libcxx/include/__functional/identity.h
    M libcxx/include/__functional/invoke.h
    M libcxx/include/__functional/is_transparent.h
    M libcxx/include/__functional/mem_fn.h
    M libcxx/include/__functional/mem_fun_ref.h
    M libcxx/include/__functional/not_fn.h
    M libcxx/include/__functional/operations.h
    M libcxx/include/__functional/perfect_forward.h
    M libcxx/include/__functional/pointer_to_binary_function.h
    M libcxx/include/__functional/pointer_to_unary_function.h
    M libcxx/include/__functional/ranges_operations.h
    M libcxx/include/__functional/reference_wrapper.h
    M libcxx/include/__functional/unary_function.h
    M libcxx/include/__functional/unary_negate.h
    M libcxx/include/__functional/weak_result_type.h
    M libcxx/include/__fwd/get.h
    M libcxx/include/__fwd/span.h
    M libcxx/include/__fwd/string_view.h
    M libcxx/include/__fwd/subrange.h
    M libcxx/include/__hash_table
    M libcxx/include/__ios/fpos.h
    M libcxx/include/__iterator/access.h
    M libcxx/include/__iterator/advance.h
    M libcxx/include/__iterator/back_insert_iterator.h
    M libcxx/include/__iterator/common_iterator.h
    M libcxx/include/__iterator/concepts.h
    M libcxx/include/__iterator/counted_iterator.h
    M libcxx/include/__iterator/data.h
    M libcxx/include/__iterator/default_sentinel.h
    M libcxx/include/__iterator/distance.h
    M libcxx/include/__iterator/empty.h
    M libcxx/include/__iterator/erase_if_container.h
    M libcxx/include/__iterator/front_insert_iterator.h
    M libcxx/include/__iterator/incrementable_traits.h
    M libcxx/include/__iterator/indirectly_comparable.h
    M libcxx/include/__iterator/insert_iterator.h
    M libcxx/include/__iterator/istream_iterator.h
    M libcxx/include/__iterator/istreambuf_iterator.h
    M libcxx/include/__iterator/iter_move.h
    M libcxx/include/__iterator/iter_swap.h
    M libcxx/include/__iterator/iterator.h
    M libcxx/include/__iterator/iterator_traits.h
    M libcxx/include/__iterator/mergeable.h
    M libcxx/include/__iterator/move_iterator.h
    M libcxx/include/__iterator/move_sentinel.h
    M libcxx/include/__iterator/next.h
    M libcxx/include/__iterator/ostream_iterator.h
    M libcxx/include/__iterator/ostreambuf_iterator.h
    M libcxx/include/__iterator/permutable.h
    M libcxx/include/__iterator/prev.h
    M libcxx/include/__iterator/readable_traits.h
    M libcxx/include/__iterator/reverse_access.h
    M libcxx/include/__iterator/reverse_iterator.h
    M libcxx/include/__iterator/size.h
    M libcxx/include/__iterator/sortable.h
    M libcxx/include/__iterator/unreachable_sentinel.h
    M libcxx/include/__iterator/wrap_iter.h
    M libcxx/include/__locale
    M libcxx/include/__locale_dir/locale_base_api/bsd_locale_defaults.h
    M libcxx/include/__locale_dir/locale_base_api/bsd_locale_fallbacks.h
    M libcxx/include/__locale_dir/locale_base_api/locale_guard.h
    M libcxx/include/__mbstate_t.h
    M libcxx/include/__memory/addressof.h
    M libcxx/include/__memory/aligned_alloc.h
    M libcxx/include/__memory/allocate_at_least.h
    M libcxx/include/__memory/allocation_guard.h
    M libcxx/include/__memory/allocator.h
    M libcxx/include/__memory/allocator_arg_t.h
    M libcxx/include/__memory/allocator_destructor.h
    M libcxx/include/__memory/allocator_traits.h
    M libcxx/include/__memory/assume_aligned.h
    M libcxx/include/__memory/auto_ptr.h
    M libcxx/include/__memory/builtin_new_allocator.h
    M libcxx/include/__memory/compressed_pair.h
    M libcxx/include/__memory/concepts.h
    M libcxx/include/__memory/construct_at.h
    M libcxx/include/__memory/destruct_n.h
    M libcxx/include/__memory/pointer_traits.h
    M libcxx/include/__memory/ranges_construct_at.h
    M libcxx/include/__memory/ranges_uninitialized_algorithms.h
    M libcxx/include/__memory/raw_storage_iterator.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/__memory/temp_value.h
    M libcxx/include/__memory/temporary_buffer.h
    M libcxx/include/__memory/uninitialized_algorithms.h
    M libcxx/include/__memory/unique_ptr.h
    M libcxx/include/__memory/uses_allocator.h
    M libcxx/include/__node_handle
    M libcxx/include/__numeric/accumulate.h
    M libcxx/include/__numeric/adjacent_difference.h
    M libcxx/include/__numeric/exclusive_scan.h
    M libcxx/include/__numeric/gcd_lcm.h
    M libcxx/include/__numeric/inclusive_scan.h
    M libcxx/include/__numeric/inner_product.h
    M libcxx/include/__numeric/iota.h
    M libcxx/include/__numeric/midpoint.h
    M libcxx/include/__numeric/partial_sum.h
    M libcxx/include/__numeric/reduce.h
    M libcxx/include/__numeric/transform_exclusive_scan.h
    M libcxx/include/__numeric/transform_inclusive_scan.h
    M libcxx/include/__numeric/transform_reduce.h
    M libcxx/include/__random/bernoulli_distribution.h
    M libcxx/include/__random/binomial_distribution.h
    M libcxx/include/__random/cauchy_distribution.h
    M libcxx/include/__random/chi_squared_distribution.h
    M libcxx/include/__random/clamp_to_integral.h
    M libcxx/include/__random/discard_block_engine.h
    M libcxx/include/__random/discrete_distribution.h
    M libcxx/include/__random/exponential_distribution.h
    M libcxx/include/__random/extreme_value_distribution.h
    M libcxx/include/__random/fisher_f_distribution.h
    M libcxx/include/__random/gamma_distribution.h
    M libcxx/include/__random/generate_canonical.h
    M libcxx/include/__random/geometric_distribution.h
    M libcxx/include/__random/independent_bits_engine.h
    M libcxx/include/__random/is_seed_sequence.h
    M libcxx/include/__random/is_valid.h
    M libcxx/include/__random/linear_congruential_engine.h
    M libcxx/include/__random/log2.h
    M libcxx/include/__random/lognormal_distribution.h
    M libcxx/include/__random/mersenne_twister_engine.h
    M libcxx/include/__random/negative_binomial_distribution.h
    M libcxx/include/__random/normal_distribution.h
    M libcxx/include/__random/piecewise_constant_distribution.h
    M libcxx/include/__random/piecewise_linear_distribution.h
    M libcxx/include/__random/poisson_distribution.h
    M libcxx/include/__random/random_device.h
    M libcxx/include/__random/ranlux.h
    M libcxx/include/__random/seed_seq.h
    M libcxx/include/__random/shuffle_order_engine.h
    M libcxx/include/__random/student_t_distribution.h
    M libcxx/include/__random/subtract_with_carry_engine.h
    M libcxx/include/__random/uniform_int_distribution.h
    M libcxx/include/__random/uniform_random_bit_generator.h
    M libcxx/include/__random/uniform_real_distribution.h
    M libcxx/include/__random/weibull_distribution.h
    M libcxx/include/__ranges/access.h
    M libcxx/include/__ranges/all.h
    M libcxx/include/__ranges/common_view.h
    M libcxx/include/__ranges/concepts.h
    M libcxx/include/__ranges/counted.h
    M libcxx/include/__ranges/data.h
    M libcxx/include/__ranges/drop_view.h
    M libcxx/include/__ranges/empty.h
    M libcxx/include/__ranges/empty_view.h
    M libcxx/include/__ranges/enable_view.h
    M libcxx/include/__ranges/filter_view.h
    M libcxx/include/__ranges/iota_view.h
    M libcxx/include/__ranges/istream_view.h
    M libcxx/include/__ranges/join_view.h
    M libcxx/include/__ranges/lazy_split_view.h
    M libcxx/include/__ranges/non_propagating_cache.h
    M libcxx/include/__ranges/owning_view.h
    M libcxx/include/__ranges/range_adaptor.h
    M libcxx/include/__ranges/rbegin.h
    M libcxx/include/__ranges/ref_view.h
    M libcxx/include/__ranges/rend.h
    M libcxx/include/__ranges/reverse_view.h
    M libcxx/include/__ranges/single_view.h
    M libcxx/include/__ranges/size.h
    M libcxx/include/__ranges/subrange.h
    M libcxx/include/__ranges/take_view.h
    M libcxx/include/__ranges/transform_view.h
    M libcxx/include/__ranges/view_interface.h
    M libcxx/include/__ranges/views.h
    M libcxx/include/__ranges/zip_view.h
    M libcxx/include/__split_buffer
    M libcxx/include/__string/char_traits.h
    M libcxx/include/__support/android/locale_bionic.h
    M libcxx/include/__support/fuchsia/xlocale.h
    M libcxx/include/__support/ibm/gettod_zos.h
    M libcxx/include/__support/ibm/locale_mgmt_zos.h
    M libcxx/include/__support/ibm/nanosleep.h
    M libcxx/include/__support/ibm/xlocale.h
    M libcxx/include/__support/newlib/xlocale.h
    M libcxx/include/__support/win32/locale_win32.h
    M libcxx/include/__support/xlocale/__nop_locale_mgmt.h
    M libcxx/include/__system_error/errc.h
    M libcxx/include/__thread/formatter.h
    M libcxx/include/__thread/poll_with_backoff.h
    M libcxx/include/__thread/this_thread.h
    M libcxx/include/__thread/thread.h
    M libcxx/include/__thread/timed_backoff_policy.h
    M libcxx/include/__threading_support
    M libcxx/include/__tree
    M libcxx/include/__tuple/make_tuple_types.h
    M libcxx/include/__tuple/sfinae_helpers.h
    M libcxx/include/__tuple/tuple_element.h
    M libcxx/include/__tuple/tuple_indices.h
    M libcxx/include/__tuple/tuple_like_ext.h
    M libcxx/include/__tuple/tuple_size.h
    M libcxx/include/__tuple/tuple_types.h
    M libcxx/include/__utility/as_const.h
    M libcxx/include/__utility/cmp.h
    M libcxx/include/__utility/convert_to_integral.h
    M libcxx/include/__utility/exchange.h
    M libcxx/include/__utility/in_place.h
    M libcxx/include/__utility/integer_sequence.h
    M libcxx/include/__utility/pair.h
    M libcxx/include/__utility/piecewise_construct.h
    M libcxx/include/__utility/priority_tag.h
    M libcxx/include/__utility/rel_ops.h
    M libcxx/include/__utility/to_underlying.h
    M libcxx/include/__utility/unreachable.h
    M libcxx/include/__variant/monostate.h
    M libcxx/include/__verbose_abort
    M libcxx/include/any
    M libcxx/include/array
    M libcxx/include/barrier
    M libcxx/include/bitset
    M libcxx/include/cctype
    M libcxx/include/cmath
    M libcxx/include/codecvt
    M libcxx/include/complex
    M libcxx/include/condition_variable
    M libcxx/include/cstddef
    M libcxx/include/ctype.h
    M libcxx/include/cuchar
    M libcxx/include/deque
    M libcxx/include/errno.h
    M libcxx/include/expected
    M libcxx/include/experimental/__config
    M libcxx/include/experimental/__memory
    M libcxx/include/experimental/iterator
    M libcxx/include/experimental/propagate_const
    M libcxx/include/experimental/type_traits
    M libcxx/include/experimental/utility
    M libcxx/include/ext/__hash
    M libcxx/include/ext/hash_map
    M libcxx/include/ext/hash_set
    M libcxx/include/fenv.h
    M libcxx/include/float.h
    M libcxx/include/forward_list
    M libcxx/include/fstream
    M libcxx/include/future
    M libcxx/include/initializer_list
    M libcxx/include/inttypes.h
    M libcxx/include/iomanip
    M libcxx/include/ios
    M libcxx/include/iosfwd
    M libcxx/include/istream
    M libcxx/include/latch
    M libcxx/include/limits
    M libcxx/include/list
    M libcxx/include/locale
    M libcxx/include/locale.h
    M libcxx/include/map
    M libcxx/include/math.h
    M libcxx/include/mutex
    M libcxx/include/new
    M libcxx/include/numbers
    M libcxx/include/optional
    M libcxx/include/ostream
    M libcxx/include/queue
    M libcxx/include/ranges
    M libcxx/include/ratio
    M libcxx/include/regex
    M libcxx/include/scoped_allocator
    M libcxx/include/semaphore
    M libcxx/include/set
    M libcxx/include/span
    M libcxx/include/sstream
    M libcxx/include/stack
    M libcxx/include/stdatomic.h
    M libcxx/include/stdbool.h
    M libcxx/include/stddef.h
    M libcxx/include/stdexcept
    M libcxx/include/stdint.h
    M libcxx/include/stdio.h
    M libcxx/include/stdlib.h
    M libcxx/include/streambuf
    M libcxx/include/string
    M libcxx/include/string.h
    M libcxx/include/string_view
    M libcxx/include/strstream
    M libcxx/include/thread
    M libcxx/include/tuple
    M libcxx/include/typeindex
    M libcxx/include/typeinfo
    M libcxx/include/uchar.h
    M libcxx/include/unordered_map
    M libcxx/include/unordered_set
    M libcxx/include/valarray
    M libcxx/include/variant
    M libcxx/include/vector
    M libcxx/include/wchar.h
    M libcxx/include/wctype.h
    M libcxx/src/any.cpp
    M libcxx/src/atomic.cpp
    M libcxx/src/barrier.cpp
    M libcxx/src/bind.cpp
    M libcxx/src/call_once.cpp
    M libcxx/src/charconv.cpp
    M libcxx/src/chrono.cpp
    M libcxx/src/condition_variable.cpp
    M libcxx/src/condition_variable_destructor.cpp
    M libcxx/src/exception.cpp
    M libcxx/src/filesystem/directory_entry.cpp
    M libcxx/src/filesystem/directory_iterator.cpp
    M libcxx/src/filesystem/error.h
    M libcxx/src/filesystem/file_descriptor.h
    M libcxx/src/filesystem/filesystem_clock.cpp
    M libcxx/src/filesystem/filesystem_error.cpp
    M libcxx/src/filesystem/int128_builtins.cpp
    M libcxx/src/filesystem/operations.cpp
    M libcxx/src/filesystem/path.cpp
    M libcxx/src/filesystem/path_parser.h
    M libcxx/src/filesystem/posix_compat.h
    M libcxx/src/filesystem/time_utils.h
    M libcxx/src/functional.cpp
    M libcxx/src/future.cpp
    M libcxx/src/hash.cpp
    M libcxx/src/include/apple_availability.h
    M libcxx/src/include/atomic_support.h
    M libcxx/src/include/config_elast.h
    M libcxx/src/include/refstring.h
    M libcxx/src/include/ryu/ryu.h
    M libcxx/src/include/sso_allocator.h
    M libcxx/src/ios.cpp
    M libcxx/src/iostream.cpp
    M libcxx/src/locale.cpp
    M libcxx/src/memory.cpp
    M libcxx/src/mutex.cpp
    M libcxx/src/mutex_destructor.cpp
    M libcxx/src/optional.cpp
    M libcxx/src/random.cpp
    M libcxx/src/random_shuffle.cpp
    M libcxx/src/regex.cpp
    M libcxx/src/std_stream.h
    M libcxx/src/string.cpp
    M libcxx/src/support/ibm/mbsnrtowcs.cpp
    M libcxx/src/support/ibm/wcsnrtombs.cpp
    M libcxx/src/support/ibm/xlocale_zos.cpp
    M libcxx/src/support/runtime/exception_fallback.ipp
    M libcxx/src/support/runtime/exception_glibcxx.ipp
    M libcxx/src/support/runtime/exception_libcxxabi.ipp
    M libcxx/src/support/runtime/exception_libcxxrt.ipp
    M libcxx/src/support/runtime/exception_msvc.ipp
    M libcxx/src/support/runtime/exception_pointer_cxxabi.ipp
    M libcxx/src/support/runtime/exception_pointer_glibcxx.ipp
    M libcxx/src/support/runtime/exception_pointer_msvc.ipp
    M libcxx/src/support/runtime/exception_pointer_unimplemented.ipp
    M libcxx/src/support/runtime/stdexcept_default.ipp
    M libcxx/src/support/runtime/stdexcept_vcruntime.ipp
    M libcxx/src/support/win32/locale_win32.cpp
    M libcxx/src/support/win32/support.cpp
    M libcxx/src/support/win32/thread_win32.cpp
    M libcxx/src/system_error.cpp
    M libcxx/src/thread.cpp
    M libcxx/src/typeinfo.cpp
    M libcxx/src/valarray.cpp
    M libcxx/src/variant.cpp
    M libcxx/src/vector.cpp
    M libcxx/src/verbose_abort.cpp

  Log Message:
  -----------
  [libc++] Format the code base (#74334)

This patch runs clang-format on all of libcxx/include and libcxx/src, in
accordance with the RFC discussed at [1]. Follow-up patches will format
the benchmarks, the test suite and remaining parts of the code. I'm
splitting this one into its own patch so the diff is a bit easier to
review.

This patch was generated with:

   find libcxx/include libcxx/src -type f \
      | grep -v 'module.modulemap.in' \
      | grep -v 'CMakeLists.txt' \
      | grep -v 'README.txt' \
      | grep -v 'libcxx.imp' \
      | grep -v '__config_site.in' \
      | xargs clang-format -i

A Git merge driver is available in libcxx/utils/clang-format-merge-driver.sh
to help resolve merge and rebase issues across these formatting changes.

[1]: https://discourse.llvm.org/t/rfc-clang-formatting-all-of-libc-once-and-for-all




More information about the All-commits mailing list