[all-commits] [llvm/llvm-project] 5aa03b: [libc++][NFC] Apply clang-format on large parts of...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Mon Jun 19 08:20:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5aa03b648b827128d439f705cd7d57d59673741d
https://github.com/llvm/llvm-project/commit/5aa03b648b827128d439f705cd7d57d59673741d
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-06-19 (Mon, 19 Jun 2023)
Changed paths:
M libcxx/benchmarks/CartesianBenchmarks.h
M libcxx/benchmarks/ContainerBenchmarks.h
M libcxx/benchmarks/GenerateInput.h
M libcxx/benchmarks/Utilities.h
M libcxx/benchmarks/VariantBenchmarks.h
M libcxx/benchmarks/algorithms.partition_point.bench.cpp
M libcxx/benchmarks/algorithms/common.h
M libcxx/benchmarks/algorithms/lower_bound.bench.cpp
M libcxx/benchmarks/algorithms/make_heap.bench.cpp
M libcxx/benchmarks/algorithms/make_heap_then_sort_heap.bench.cpp
M libcxx/benchmarks/algorithms/pop_heap.bench.cpp
M libcxx/benchmarks/algorithms/push_heap.bench.cpp
M libcxx/benchmarks/algorithms/ranges_make_heap.bench.cpp
M libcxx/benchmarks/algorithms/ranges_make_heap_then_sort_heap.bench.cpp
M libcxx/benchmarks/algorithms/ranges_pop_heap.bench.cpp
M libcxx/benchmarks/algorithms/ranges_push_heap.bench.cpp
M libcxx/benchmarks/algorithms/ranges_sort.bench.cpp
M libcxx/benchmarks/algorithms/ranges_sort_heap.bench.cpp
M libcxx/benchmarks/algorithms/ranges_stable_sort.bench.cpp
M libcxx/benchmarks/algorithms/sort.bench.cpp
M libcxx/benchmarks/algorithms/sort_heap.bench.cpp
M libcxx/benchmarks/algorithms/stable_sort.bench.cpp
M libcxx/benchmarks/allocation.bench.cpp
M libcxx/benchmarks/deque.bench.cpp
M libcxx/benchmarks/filesystem.bench.cpp
M libcxx/benchmarks/format_to.bench.cpp
M libcxx/benchmarks/format_to_n.bench.cpp
M libcxx/benchmarks/formatter_float.bench.cpp
M libcxx/benchmarks/formatter_int.bench.cpp
M libcxx/benchmarks/function.bench.cpp
M libcxx/benchmarks/map.bench.cpp
M libcxx/benchmarks/ordered_set.bench.cpp
M libcxx/benchmarks/random.bench.cpp
M libcxx/benchmarks/string.bench.cpp
M libcxx/benchmarks/stringstream.bench.cpp
M libcxx/benchmarks/unordered_set_operations.bench.cpp
M libcxx/benchmarks/vector_operations.bench.cpp
M libcxx/include/__algorithm/ranges_adjacent_find.h
M libcxx/include/__algorithm/ranges_all_of.h
M libcxx/include/__algorithm/ranges_any_of.h
M libcxx/include/__algorithm/ranges_binary_search.h
M libcxx/include/__algorithm/ranges_clamp.h
M libcxx/include/__algorithm/ranges_copy.h
M libcxx/include/__algorithm/ranges_copy_backward.h
M libcxx/include/__algorithm/ranges_copy_if.h
M libcxx/include/__algorithm/ranges_copy_n.h
M libcxx/include/__algorithm/ranges_count.h
M libcxx/include/__algorithm/ranges_count_if.h
M libcxx/include/__algorithm/ranges_equal.h
M libcxx/include/__algorithm/ranges_equal_range.h
M libcxx/include/__algorithm/ranges_fill.h
M libcxx/include/__algorithm/ranges_fill_n.h
M libcxx/include/__algorithm/ranges_find.h
M libcxx/include/__algorithm/ranges_find_end.h
M libcxx/include/__algorithm/ranges_find_first_of.h
M libcxx/include/__algorithm/ranges_find_if.h
M libcxx/include/__algorithm/ranges_find_if_not.h
M libcxx/include/__algorithm/ranges_for_each.h
M libcxx/include/__algorithm/ranges_for_each_n.h
M libcxx/include/__algorithm/ranges_generate.h
M libcxx/include/__algorithm/ranges_generate_n.h
M libcxx/include/__algorithm/ranges_includes.h
M libcxx/include/__algorithm/ranges_inplace_merge.h
M libcxx/include/__algorithm/ranges_is_heap.h
M libcxx/include/__algorithm/ranges_is_heap_until.h
M libcxx/include/__algorithm/ranges_is_partitioned.h
M libcxx/include/__algorithm/ranges_is_permutation.h
M libcxx/include/__algorithm/ranges_is_sorted.h
M libcxx/include/__algorithm/ranges_is_sorted_until.h
M libcxx/include/__algorithm/ranges_lexicographical_compare.h
M libcxx/include/__algorithm/ranges_lower_bound.h
M libcxx/include/__algorithm/ranges_make_heap.h
M libcxx/include/__algorithm/ranges_max.h
M libcxx/include/__algorithm/ranges_max_element.h
M libcxx/include/__algorithm/ranges_merge.h
M libcxx/include/__algorithm/ranges_min.h
M libcxx/include/__algorithm/ranges_min_element.h
M libcxx/include/__algorithm/ranges_minmax.h
M libcxx/include/__algorithm/ranges_minmax_element.h
M libcxx/include/__algorithm/ranges_mismatch.h
M libcxx/include/__algorithm/ranges_move.h
M libcxx/include/__algorithm/ranges_move_backward.h
M libcxx/include/__algorithm/ranges_none_of.h
M libcxx/include/__algorithm/ranges_nth_element.h
M libcxx/include/__algorithm/ranges_partial_sort.h
M libcxx/include/__algorithm/ranges_partial_sort_copy.h
M libcxx/include/__algorithm/ranges_partition.h
M libcxx/include/__algorithm/ranges_partition_copy.h
M libcxx/include/__algorithm/ranges_partition_point.h
M libcxx/include/__algorithm/ranges_pop_heap.h
M libcxx/include/__algorithm/ranges_prev_permutation.h
M libcxx/include/__algorithm/ranges_push_heap.h
M libcxx/include/__algorithm/ranges_remove.h
M libcxx/include/__algorithm/ranges_remove_copy.h
M libcxx/include/__algorithm/ranges_remove_copy_if.h
M libcxx/include/__algorithm/ranges_remove_if.h
M libcxx/include/__algorithm/ranges_replace.h
M libcxx/include/__algorithm/ranges_replace_copy.h
M libcxx/include/__algorithm/ranges_replace_copy_if.h
M libcxx/include/__algorithm/ranges_replace_if.h
M libcxx/include/__algorithm/ranges_reverse.h
M libcxx/include/__algorithm/ranges_reverse_copy.h
M libcxx/include/__algorithm/ranges_rotate.h
M libcxx/include/__algorithm/ranges_rotate_copy.h
M libcxx/include/__algorithm/ranges_sample.h
M libcxx/include/__algorithm/ranges_search.h
M libcxx/include/__algorithm/ranges_search_n.h
M libcxx/include/__algorithm/ranges_set_difference.h
M libcxx/include/__algorithm/ranges_set_intersection.h
M libcxx/include/__algorithm/ranges_set_symmetric_difference.h
M libcxx/include/__algorithm/ranges_set_union.h
M libcxx/include/__algorithm/ranges_shuffle.h
M libcxx/include/__algorithm/ranges_sort.h
M libcxx/include/__algorithm/ranges_sort_heap.h
M libcxx/include/__algorithm/ranges_stable_partition.h
M libcxx/include/__algorithm/ranges_stable_sort.h
M libcxx/include/__algorithm/ranges_swap_ranges.h
M libcxx/include/__algorithm/ranges_transform.h
M libcxx/include/__algorithm/ranges_unique.h
M libcxx/include/__algorithm/ranges_unique_copy.h
M libcxx/include/__algorithm/ranges_upper_bound.h
M libcxx/include/__concepts/arithmetic.h
M libcxx/include/__concepts/assignable.h
M libcxx/include/__concepts/boolean_testable.h
M libcxx/include/__concepts/class_or_enum.h
M libcxx/include/__concepts/common_reference_with.h
M libcxx/include/__concepts/common_with.h
M libcxx/include/__concepts/constructible.h
M libcxx/include/__concepts/convertible_to.h
M libcxx/include/__concepts/copyable.h
M libcxx/include/__concepts/derived_from.h
M libcxx/include/__concepts/destructible.h
M libcxx/include/__concepts/different_from.h
M libcxx/include/__concepts/equality_comparable.h
M libcxx/include/__concepts/invocable.h
M libcxx/include/__concepts/movable.h
M libcxx/include/__concepts/predicate.h
M libcxx/include/__concepts/regular.h
M libcxx/include/__concepts/relation.h
M libcxx/include/__concepts/same_as.h
M libcxx/include/__concepts/semiregular.h
M libcxx/include/__concepts/swappable.h
M libcxx/include/__concepts/totally_ordered.h
M libcxx/include/__type_traits/add_const.h
M libcxx/include/__type_traits/add_cv.h
M libcxx/include/__type_traits/add_lvalue_reference.h
M libcxx/include/__type_traits/add_pointer.h
M libcxx/include/__type_traits/add_volatile.h
M libcxx/include/__type_traits/aligned_storage.h
M libcxx/include/__type_traits/aligned_union.h
M libcxx/include/__type_traits/alignment_of.h
M libcxx/include/__type_traits/can_extract_key.h
M libcxx/include/__type_traits/common_reference.h
M libcxx/include/__type_traits/common_type.h
M libcxx/include/__type_traits/copy_cv.h
M libcxx/include/__type_traits/copy_cvref.h
M libcxx/include/__type_traits/decay.h
M libcxx/include/__type_traits/enable_if.h
M libcxx/include/__type_traits/extent.h
M libcxx/include/__type_traits/has_unique_object_representation.h
M libcxx/include/__type_traits/has_virtual_destructor.h
M libcxx/include/__type_traits/integral_constant.h
M libcxx/include/__type_traits/invoke.h
M libcxx/include/__type_traits/is_abstract.h
M libcxx/include/__type_traits/is_aggregate.h
M libcxx/include/__type_traits/is_allocator.h
M libcxx/include/__type_traits/is_always_bitcastable.h
M libcxx/include/__type_traits/is_arithmetic.h
M libcxx/include/__type_traits/is_array.h
M libcxx/include/__type_traits/is_assignable.h
M libcxx/include/__type_traits/is_base_of.h
M libcxx/include/__type_traits/is_bounded_array.h
M libcxx/include/__type_traits/is_callable.h
M libcxx/include/__type_traits/is_class.h
M libcxx/include/__type_traits/is_compound.h
M libcxx/include/__type_traits/is_const.h
M libcxx/include/__type_traits/is_constant_evaluated.h
M libcxx/include/__type_traits/is_constructible.h
M libcxx/include/__type_traits/is_convertible.h
M libcxx/include/__type_traits/is_copy_assignable.h
M libcxx/include/__type_traits/is_copy_constructible.h
M libcxx/include/__type_traits/is_core_convertible.h
M libcxx/include/__type_traits/is_default_constructible.h
M libcxx/include/__type_traits/is_destructible.h
M libcxx/include/__type_traits/is_empty.h
M libcxx/include/__type_traits/is_enum.h
M libcxx/include/__type_traits/is_final.h
M libcxx/include/__type_traits/is_floating_point.h
M libcxx/include/__type_traits/is_fundamental.h
M libcxx/include/__type_traits/is_implicitly_default_constructible.h
M libcxx/include/__type_traits/is_integral.h
M libcxx/include/__type_traits/is_literal_type.h
M libcxx/include/__type_traits/is_member_function_pointer.h
M libcxx/include/__type_traits/is_member_object_pointer.h
M libcxx/include/__type_traits/is_member_pointer.h
M libcxx/include/__type_traits/is_move_assignable.h
M libcxx/include/__type_traits/is_move_constructible.h
M libcxx/include/__type_traits/is_nothrow_assignable.h
M libcxx/include/__type_traits/is_nothrow_constructible.h
M libcxx/include/__type_traits/is_nothrow_convertible.h
M libcxx/include/__type_traits/is_nothrow_copy_assignable.h
M libcxx/include/__type_traits/is_nothrow_copy_constructible.h
M libcxx/include/__type_traits/is_nothrow_default_constructible.h
M libcxx/include/__type_traits/is_nothrow_destructible.h
M libcxx/include/__type_traits/is_nothrow_move_assignable.h
M libcxx/include/__type_traits/is_nothrow_move_constructible.h
M libcxx/include/__type_traits/is_null_pointer.h
M libcxx/include/__type_traits/is_object.h
M libcxx/include/__type_traits/is_pod.h
M libcxx/include/__type_traits/is_pointer.h
M libcxx/include/__type_traits/is_polymorphic.h
M libcxx/include/__type_traits/is_primary_template.h
M libcxx/include/__type_traits/is_reference.h
M libcxx/include/__type_traits/is_reference_wrapper.h
M libcxx/include/__type_traits/is_same.h
M libcxx/include/__type_traits/is_scalar.h
M libcxx/include/__type_traits/is_scoped_enum.h
M libcxx/include/__type_traits/is_signed.h
M libcxx/include/__type_traits/is_signed_integer.h
M libcxx/include/__type_traits/is_standard_layout.h
M libcxx/include/__type_traits/is_swappable.h
M libcxx/include/__type_traits/is_trivial.h
M libcxx/include/__type_traits/is_trivially_assignable.h
M libcxx/include/__type_traits/is_trivially_constructible.h
M libcxx/include/__type_traits/is_trivially_copy_assignable.h
M libcxx/include/__type_traits/is_trivially_copy_constructible.h
M libcxx/include/__type_traits/is_trivially_copyable.h
M libcxx/include/__type_traits/is_trivially_default_constructible.h
M libcxx/include/__type_traits/is_trivially_destructible.h
M libcxx/include/__type_traits/is_unbounded_array.h
M libcxx/include/__type_traits/is_union.h
M libcxx/include/__type_traits/is_unsigned.h
M libcxx/include/__type_traits/is_unsigned_integer.h
M libcxx/include/__type_traits/is_valid_expansion.h
M libcxx/include/__type_traits/is_void.h
M libcxx/include/__type_traits/is_volatile.h
M libcxx/include/__type_traits/lazy.h
M libcxx/include/__type_traits/make_32_64_or_128_bit.h
M libcxx/include/__type_traits/make_const_lvalue_ref.h
M libcxx/include/__type_traits/make_signed.h
M libcxx/include/__type_traits/make_unsigned.h
M libcxx/include/__type_traits/maybe_const.h
M libcxx/include/__type_traits/nat.h
M libcxx/include/__type_traits/negation.h
M libcxx/include/__type_traits/noexcept_move_assign_container.h
M libcxx/include/__type_traits/promote.h
M libcxx/include/__type_traits/rank.h
M libcxx/include/__type_traits/remove_all_extents.h
M libcxx/include/__type_traits/remove_const.h
M libcxx/include/__type_traits/remove_cv.h
M libcxx/include/__type_traits/remove_cvref.h
M libcxx/include/__type_traits/remove_extent.h
M libcxx/include/__type_traits/remove_pointer.h
M libcxx/include/__type_traits/remove_reference.h
M libcxx/include/__type_traits/remove_volatile.h
M libcxx/include/__type_traits/result_of.h
M libcxx/include/__type_traits/strip_signature.h
M libcxx/include/__type_traits/type_identity.h
M libcxx/include/__type_traits/type_list.h
M libcxx/include/__type_traits/underlying_type.h
M libcxx/include/__type_traits/unwrap_ref.h
M libcxx/include/__type_traits/void_t.h
M libcxx/utils/data/ignore_format.txt
Log Message:
-----------
[libc++][NFC] Apply clang-format on large parts of the code base
This commit does a pass of clang-format over files in libc++ that
don't require major changes to conform to our style guide, or for
which we're not overly concerned about conflicting with in-flight
patches or hindering the git blame.
This roughly covers:
- benchmarks
- range algorithms
- concepts
- type traits
I did a manual verification of all the changes, and in particular I
applied clang-format on/off annotations in a few places where the
result was less readable after than before. This was not necessary
in a lot of places, however I did find that clang-format had pretty
bad taste when it comes to formatting concepts.
Differential Revision: https://reviews.llvm.org/D153140
More information about the All-commits
mailing list