[all-commits] [llvm/llvm-project] 5146b5: [libc++][NFC] Rename the constexpr macros

philnik777 via All-commits all-commits at lists.llvm.org
Fri Aug 19 06:35:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5146b57b403b3a512dc64e766695b13803ef3b54
      https://github.com/llvm/llvm-project/commit/5146b57b403b3a512dc64e766695b13803ef3b54
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-08-19 (Fri, 19 Aug 2022)

  Changed paths:
    M libcxx/.clang-format
    M libcxx/include/__algorithm/adjacent_find.h
    M libcxx/include/__algorithm/all_of.h
    M libcxx/include/__algorithm/any_of.h
    M libcxx/include/__algorithm/binary_search.h
    M libcxx/include/__algorithm/comp.h
    M libcxx/include/__algorithm/comp_ref_type.h
    M libcxx/include/__algorithm/copy.h
    M libcxx/include/__algorithm/copy_backward.h
    M libcxx/include/__algorithm/copy_if.h
    M libcxx/include/__algorithm/copy_n.h
    M libcxx/include/__algorithm/count.h
    M libcxx/include/__algorithm/count_if.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.h
    M libcxx/include/__algorithm/find_end.h
    M libcxx/include/__algorithm/find_first_of.h
    M libcxx/include/__algorithm/find_if.h
    M libcxx/include/__algorithm/find_if_not.h
    M libcxx/include/__algorithm/for_each.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/includes.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/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/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/none_of.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/search.h
    M libcxx/include/__algorithm/search_n.h
    M libcxx/include/__algorithm/set_difference.h
    M libcxx/include/__algorithm/set_intersection.h
    M libcxx/include/__algorithm/set_symmetric_difference.h
    M libcxx/include/__algorithm/set_union.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/swap_ranges.h
    M libcxx/include/__algorithm/transform.h
    M libcxx/include/__algorithm/unique.h
    M libcxx/include/__algorithm/unique_copy.h
    M libcxx/include/__algorithm/unwrap_iter.h
    M libcxx/include/__algorithm/upper_bound.h
    M libcxx/include/__bit_reference
    M libcxx/include/__charconv/chars_format.h
    M libcxx/include/__chrono/duration.h
    M libcxx/include/__chrono/file_clock.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/__config
    M libcxx/include/__debug
    M libcxx/include/__debug_utils/randomize_range.h
    M libcxx/include/__functional/binary_negate.h
    M libcxx/include/__functional/bind.h
    M libcxx/include/__functional/default_searcher.h
    M libcxx/include/__functional/invoke.h
    M libcxx/include/__functional/mem_fn.h
    M libcxx/include/__functional/not_fn.h
    M libcxx/include/__functional/operations.h
    M libcxx/include/__functional/reference_wrapper.h
    M libcxx/include/__functional/unary_negate.h
    M libcxx/include/__hash_table
    M libcxx/include/__iterator/access.h
    M libcxx/include/__iterator/advance.h
    M libcxx/include/__iterator/back_insert_iterator.h
    M libcxx/include/__iterator/bounded_iter.h
    M libcxx/include/__iterator/distance.h
    M libcxx/include/__iterator/front_insert_iterator.h
    M libcxx/include/__iterator/insert_iterator.h
    M libcxx/include/__iterator/move_iterator.h
    M libcxx/include/__iterator/next.h
    M libcxx/include/__iterator/prev.h
    M libcxx/include/__iterator/reverse_access.h
    M libcxx/include/__iterator/reverse_iterator.h
    M libcxx/include/__iterator/wrap_iter.h
    M libcxx/include/__memory/addressof.h
    M libcxx/include/__memory/allocator.h
    M libcxx/include/__memory/allocator_traits.h
    M libcxx/include/__memory/compressed_pair.h
    M libcxx/include/__memory/construct_at.h
    M libcxx/include/__memory/pointer_traits.h
    M libcxx/include/__memory/swap_allocator.h
    M libcxx/include/__memory/uninitialized_algorithms.h
    M libcxx/include/__memory/voidify.h
    M libcxx/include/__numeric/accumulate.h
    M libcxx/include/__numeric/adjacent_difference.h
    M libcxx/include/__numeric/exclusive_scan.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/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/__split_buffer
    M libcxx/include/__string/char_traits.h
    M libcxx/include/__tuple
    M libcxx/include/__type_traits/is_swappable.h
    M libcxx/include/__utility/exchange.h
    M libcxx/include/__utility/move.h
    M libcxx/include/__utility/pair.h
    M libcxx/include/__utility/swap.h
    M libcxx/include/__utility/transaction.h
    M libcxx/include/array
    M libcxx/include/atomic
    M libcxx/include/bit
    M libcxx/include/bitset
    M libcxx/include/complex
    M libcxx/include/experimental/coroutine
    M libcxx/include/initializer_list
    M libcxx/include/memory
    M libcxx/include/optional
    M libcxx/include/string
    M libcxx/include/string_view
    M libcxx/include/system_error
    M libcxx/include/tuple
    M libcxx/include/vector
    M libcxx/src/experimental/memory_resource.cpp
    M libcxx/src/filesystem/filesystem_common.h

  Log Message:
  -----------
  [libc++][NFC] Rename the constexpr macros

This was discussed on Discord with the consensus that we should rename the macros.

Reviewed By: ldionne, Mordante, var-const, avogelsgesang, jloser, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D131498




More information about the All-commits mailing list