[libcxx-commits] [PATCH] D153140: [libc++][NFC] Apply clang-format on large parts of the code base

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 19 06:26:38 PDT 2023


ldionne updated this revision to Diff 532631.
ldionne marked 8 inline comments as done.
ldionne added a comment.

Apply comments.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153140/new/

https://reviews.llvm.org/D153140

Files:
  libcxx/benchmarks/CartesianBenchmarks.h
  libcxx/benchmarks/ContainerBenchmarks.h
  libcxx/benchmarks/GenerateInput.h
  libcxx/benchmarks/Utilities.h
  libcxx/benchmarks/VariantBenchmarks.h
  libcxx/benchmarks/algorithms.partition_point.bench.cpp
  libcxx/benchmarks/algorithms/common.h
  libcxx/benchmarks/algorithms/lower_bound.bench.cpp
  libcxx/benchmarks/algorithms/make_heap.bench.cpp
  libcxx/benchmarks/algorithms/make_heap_then_sort_heap.bench.cpp
  libcxx/benchmarks/algorithms/pop_heap.bench.cpp
  libcxx/benchmarks/algorithms/push_heap.bench.cpp
  libcxx/benchmarks/algorithms/ranges_make_heap.bench.cpp
  libcxx/benchmarks/algorithms/ranges_make_heap_then_sort_heap.bench.cpp
  libcxx/benchmarks/algorithms/ranges_pop_heap.bench.cpp
  libcxx/benchmarks/algorithms/ranges_push_heap.bench.cpp
  libcxx/benchmarks/algorithms/ranges_sort.bench.cpp
  libcxx/benchmarks/algorithms/ranges_sort_heap.bench.cpp
  libcxx/benchmarks/algorithms/ranges_stable_sort.bench.cpp
  libcxx/benchmarks/algorithms/sort.bench.cpp
  libcxx/benchmarks/algorithms/sort_heap.bench.cpp
  libcxx/benchmarks/algorithms/stable_sort.bench.cpp
  libcxx/benchmarks/allocation.bench.cpp
  libcxx/benchmarks/deque.bench.cpp
  libcxx/benchmarks/filesystem.bench.cpp
  libcxx/benchmarks/format_to.bench.cpp
  libcxx/benchmarks/format_to_n.bench.cpp
  libcxx/benchmarks/formatter_float.bench.cpp
  libcxx/benchmarks/formatter_int.bench.cpp
  libcxx/benchmarks/function.bench.cpp
  libcxx/benchmarks/map.bench.cpp
  libcxx/benchmarks/ordered_set.bench.cpp
  libcxx/benchmarks/random.bench.cpp
  libcxx/benchmarks/string.bench.cpp
  libcxx/benchmarks/stringstream.bench.cpp
  libcxx/benchmarks/unordered_set_operations.bench.cpp
  libcxx/benchmarks/vector_operations.bench.cpp
  libcxx/include/__algorithm/ranges_adjacent_find.h
  libcxx/include/__algorithm/ranges_all_of.h
  libcxx/include/__algorithm/ranges_any_of.h
  libcxx/include/__algorithm/ranges_binary_search.h
  libcxx/include/__algorithm/ranges_clamp.h
  libcxx/include/__algorithm/ranges_copy.h
  libcxx/include/__algorithm/ranges_copy_backward.h
  libcxx/include/__algorithm/ranges_copy_if.h
  libcxx/include/__algorithm/ranges_copy_n.h
  libcxx/include/__algorithm/ranges_count.h
  libcxx/include/__algorithm/ranges_count_if.h
  libcxx/include/__algorithm/ranges_equal.h
  libcxx/include/__algorithm/ranges_equal_range.h
  libcxx/include/__algorithm/ranges_fill.h
  libcxx/include/__algorithm/ranges_fill_n.h
  libcxx/include/__algorithm/ranges_find.h
  libcxx/include/__algorithm/ranges_find_end.h
  libcxx/include/__algorithm/ranges_find_first_of.h
  libcxx/include/__algorithm/ranges_find_if.h
  libcxx/include/__algorithm/ranges_find_if_not.h
  libcxx/include/__algorithm/ranges_for_each.h
  libcxx/include/__algorithm/ranges_for_each_n.h
  libcxx/include/__algorithm/ranges_generate.h
  libcxx/include/__algorithm/ranges_generate_n.h
  libcxx/include/__algorithm/ranges_includes.h
  libcxx/include/__algorithm/ranges_inplace_merge.h
  libcxx/include/__algorithm/ranges_is_heap.h
  libcxx/include/__algorithm/ranges_is_heap_until.h
  libcxx/include/__algorithm/ranges_is_partitioned.h
  libcxx/include/__algorithm/ranges_is_permutation.h
  libcxx/include/__algorithm/ranges_is_sorted.h
  libcxx/include/__algorithm/ranges_is_sorted_until.h
  libcxx/include/__algorithm/ranges_lexicographical_compare.h
  libcxx/include/__algorithm/ranges_lower_bound.h
  libcxx/include/__algorithm/ranges_make_heap.h
  libcxx/include/__algorithm/ranges_max.h
  libcxx/include/__algorithm/ranges_max_element.h
  libcxx/include/__algorithm/ranges_merge.h
  libcxx/include/__algorithm/ranges_min.h
  libcxx/include/__algorithm/ranges_min_element.h
  libcxx/include/__algorithm/ranges_minmax.h
  libcxx/include/__algorithm/ranges_minmax_element.h
  libcxx/include/__algorithm/ranges_mismatch.h
  libcxx/include/__algorithm/ranges_move.h
  libcxx/include/__algorithm/ranges_move_backward.h
  libcxx/include/__algorithm/ranges_none_of.h
  libcxx/include/__algorithm/ranges_nth_element.h
  libcxx/include/__algorithm/ranges_partial_sort.h
  libcxx/include/__algorithm/ranges_partial_sort_copy.h
  libcxx/include/__algorithm/ranges_partition.h
  libcxx/include/__algorithm/ranges_partition_copy.h
  libcxx/include/__algorithm/ranges_partition_point.h
  libcxx/include/__algorithm/ranges_pop_heap.h
  libcxx/include/__algorithm/ranges_prev_permutation.h
  libcxx/include/__algorithm/ranges_push_heap.h
  libcxx/include/__algorithm/ranges_remove.h
  libcxx/include/__algorithm/ranges_remove_copy.h
  libcxx/include/__algorithm/ranges_remove_copy_if.h
  libcxx/include/__algorithm/ranges_remove_if.h
  libcxx/include/__algorithm/ranges_replace.h
  libcxx/include/__algorithm/ranges_replace_copy.h
  libcxx/include/__algorithm/ranges_replace_copy_if.h
  libcxx/include/__algorithm/ranges_replace_if.h
  libcxx/include/__algorithm/ranges_reverse.h
  libcxx/include/__algorithm/ranges_reverse_copy.h
  libcxx/include/__algorithm/ranges_rotate.h
  libcxx/include/__algorithm/ranges_rotate_copy.h
  libcxx/include/__algorithm/ranges_sample.h
  libcxx/include/__algorithm/ranges_search.h
  libcxx/include/__algorithm/ranges_search_n.h
  libcxx/include/__algorithm/ranges_set_difference.h
  libcxx/include/__algorithm/ranges_set_intersection.h
  libcxx/include/__algorithm/ranges_set_symmetric_difference.h
  libcxx/include/__algorithm/ranges_set_union.h
  libcxx/include/__algorithm/ranges_shuffle.h
  libcxx/include/__algorithm/ranges_sort.h
  libcxx/include/__algorithm/ranges_sort_heap.h
  libcxx/include/__algorithm/ranges_stable_partition.h
  libcxx/include/__algorithm/ranges_stable_sort.h
  libcxx/include/__algorithm/ranges_swap_ranges.h
  libcxx/include/__algorithm/ranges_transform.h
  libcxx/include/__algorithm/ranges_unique.h
  libcxx/include/__algorithm/ranges_unique_copy.h
  libcxx/include/__algorithm/ranges_upper_bound.h
  libcxx/include/__concepts/arithmetic.h
  libcxx/include/__concepts/assignable.h
  libcxx/include/__concepts/boolean_testable.h
  libcxx/include/__concepts/class_or_enum.h
  libcxx/include/__concepts/common_reference_with.h
  libcxx/include/__concepts/common_with.h
  libcxx/include/__concepts/constructible.h
  libcxx/include/__concepts/convertible_to.h
  libcxx/include/__concepts/copyable.h
  libcxx/include/__concepts/derived_from.h
  libcxx/include/__concepts/destructible.h
  libcxx/include/__concepts/different_from.h
  libcxx/include/__concepts/equality_comparable.h
  libcxx/include/__concepts/invocable.h
  libcxx/include/__concepts/movable.h
  libcxx/include/__concepts/predicate.h
  libcxx/include/__concepts/regular.h
  libcxx/include/__concepts/relation.h
  libcxx/include/__concepts/same_as.h
  libcxx/include/__concepts/semiregular.h
  libcxx/include/__concepts/swappable.h
  libcxx/include/__concepts/totally_ordered.h
  libcxx/include/__type_traits/add_const.h
  libcxx/include/__type_traits/add_cv.h
  libcxx/include/__type_traits/add_lvalue_reference.h
  libcxx/include/__type_traits/add_pointer.h
  libcxx/include/__type_traits/add_volatile.h
  libcxx/include/__type_traits/aligned_storage.h
  libcxx/include/__type_traits/aligned_union.h
  libcxx/include/__type_traits/alignment_of.h
  libcxx/include/__type_traits/can_extract_key.h
  libcxx/include/__type_traits/common_reference.h
  libcxx/include/__type_traits/common_type.h
  libcxx/include/__type_traits/copy_cv.h
  libcxx/include/__type_traits/copy_cvref.h
  libcxx/include/__type_traits/decay.h
  libcxx/include/__type_traits/enable_if.h
  libcxx/include/__type_traits/extent.h
  libcxx/include/__type_traits/has_unique_object_representation.h
  libcxx/include/__type_traits/has_virtual_destructor.h
  libcxx/include/__type_traits/integral_constant.h
  libcxx/include/__type_traits/invoke.h
  libcxx/include/__type_traits/is_abstract.h
  libcxx/include/__type_traits/is_aggregate.h
  libcxx/include/__type_traits/is_allocator.h
  libcxx/include/__type_traits/is_always_bitcastable.h
  libcxx/include/__type_traits/is_arithmetic.h
  libcxx/include/__type_traits/is_array.h
  libcxx/include/__type_traits/is_assignable.h
  libcxx/include/__type_traits/is_base_of.h
  libcxx/include/__type_traits/is_bounded_array.h
  libcxx/include/__type_traits/is_callable.h
  libcxx/include/__type_traits/is_class.h
  libcxx/include/__type_traits/is_compound.h
  libcxx/include/__type_traits/is_const.h
  libcxx/include/__type_traits/is_constant_evaluated.h
  libcxx/include/__type_traits/is_constructible.h
  libcxx/include/__type_traits/is_convertible.h
  libcxx/include/__type_traits/is_copy_assignable.h
  libcxx/include/__type_traits/is_copy_constructible.h
  libcxx/include/__type_traits/is_core_convertible.h
  libcxx/include/__type_traits/is_default_constructible.h
  libcxx/include/__type_traits/is_destructible.h
  libcxx/include/__type_traits/is_empty.h
  libcxx/include/__type_traits/is_enum.h
  libcxx/include/__type_traits/is_final.h
  libcxx/include/__type_traits/is_floating_point.h
  libcxx/include/__type_traits/is_fundamental.h
  libcxx/include/__type_traits/is_implicitly_default_constructible.h
  libcxx/include/__type_traits/is_integral.h
  libcxx/include/__type_traits/is_literal_type.h
  libcxx/include/__type_traits/is_member_function_pointer.h
  libcxx/include/__type_traits/is_member_object_pointer.h
  libcxx/include/__type_traits/is_member_pointer.h
  libcxx/include/__type_traits/is_move_assignable.h
  libcxx/include/__type_traits/is_move_constructible.h
  libcxx/include/__type_traits/is_nothrow_assignable.h
  libcxx/include/__type_traits/is_nothrow_constructible.h
  libcxx/include/__type_traits/is_nothrow_convertible.h
  libcxx/include/__type_traits/is_nothrow_copy_assignable.h
  libcxx/include/__type_traits/is_nothrow_copy_constructible.h
  libcxx/include/__type_traits/is_nothrow_default_constructible.h
  libcxx/include/__type_traits/is_nothrow_destructible.h
  libcxx/include/__type_traits/is_nothrow_move_assignable.h
  libcxx/include/__type_traits/is_nothrow_move_constructible.h
  libcxx/include/__type_traits/is_null_pointer.h
  libcxx/include/__type_traits/is_object.h
  libcxx/include/__type_traits/is_pod.h
  libcxx/include/__type_traits/is_pointer.h
  libcxx/include/__type_traits/is_polymorphic.h
  libcxx/include/__type_traits/is_primary_template.h
  libcxx/include/__type_traits/is_reference.h
  libcxx/include/__type_traits/is_reference_wrapper.h
  libcxx/include/__type_traits/is_same.h
  libcxx/include/__type_traits/is_scalar.h
  libcxx/include/__type_traits/is_scoped_enum.h
  libcxx/include/__type_traits/is_signed.h
  libcxx/include/__type_traits/is_signed_integer.h
  libcxx/include/__type_traits/is_standard_layout.h
  libcxx/include/__type_traits/is_swappable.h
  libcxx/include/__type_traits/is_trivial.h
  libcxx/include/__type_traits/is_trivially_assignable.h
  libcxx/include/__type_traits/is_trivially_constructible.h
  libcxx/include/__type_traits/is_trivially_copy_assignable.h
  libcxx/include/__type_traits/is_trivially_copy_constructible.h
  libcxx/include/__type_traits/is_trivially_copyable.h
  libcxx/include/__type_traits/is_trivially_default_constructible.h
  libcxx/include/__type_traits/is_trivially_destructible.h
  libcxx/include/__type_traits/is_unbounded_array.h
  libcxx/include/__type_traits/is_union.h
  libcxx/include/__type_traits/is_unsigned.h
  libcxx/include/__type_traits/is_unsigned_integer.h
  libcxx/include/__type_traits/is_valid_expansion.h
  libcxx/include/__type_traits/is_void.h
  libcxx/include/__type_traits/is_volatile.h
  libcxx/include/__type_traits/lazy.h
  libcxx/include/__type_traits/make_32_64_or_128_bit.h
  libcxx/include/__type_traits/make_const_lvalue_ref.h
  libcxx/include/__type_traits/make_signed.h
  libcxx/include/__type_traits/make_unsigned.h
  libcxx/include/__type_traits/maybe_const.h
  libcxx/include/__type_traits/nat.h
  libcxx/include/__type_traits/negation.h
  libcxx/include/__type_traits/noexcept_move_assign_container.h
  libcxx/include/__type_traits/promote.h
  libcxx/include/__type_traits/rank.h
  libcxx/include/__type_traits/remove_all_extents.h
  libcxx/include/__type_traits/remove_const.h
  libcxx/include/__type_traits/remove_cv.h
  (13 more files...)



More information about the libcxx-commits mailing list