[all-commits] [llvm/llvm-project] 77a00c: [libc++] Replace uses of _VSTD:: by std:: (#74331)

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Dec 5 08:19:30 PST 2023


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

  Changed paths:
    M libcxx/docs/Contributing.rst
    M libcxx/include/__algorithm/clamp.h
    M libcxx/include/__algorithm/copy_n.h
    M libcxx/include/__algorithm/equal.h
    M libcxx/include/__algorithm/fill.h
    M libcxx/include/__algorithm/fill_n.h
    M libcxx/include/__algorithm/find_first_of.h
    M libcxx/include/__algorithm/for_each_n.h
    M libcxx/include/__algorithm/generate_n.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_sorted.h
    M libcxx/include/__algorithm/is_sorted_until.h
    M libcxx/include/__algorithm/lexicographical_compare.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/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_point.h
    M libcxx/include/__algorithm/prev_permutation.h
    M libcxx/include/__algorithm/remove.h
    M libcxx/include/__algorithm/remove_if.h
    M libcxx/include/__algorithm/rotate.h
    M libcxx/include/__algorithm/rotate_copy.h
    M libcxx/include/__algorithm/sample.h
    M libcxx/include/__algorithm/shift_left.h
    M libcxx/include/__algorithm/shift_right.h
    M libcxx/include/__algorithm/sift_down.h
    M libcxx/include/__algorithm/stable_partition.h
    M libcxx/include/__algorithm/stable_sort.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_weak_order_fallback.h
    M libcxx/include/__compare/partial_order.h
    M libcxx/include/__compare/strong_order.h
    M libcxx/include/__compare/weak_order.h
    M libcxx/include/__concepts/assignable.h
    M libcxx/include/__concepts/boolean_testable.h
    M libcxx/include/__concepts/invocable.h
    M libcxx/include/__concepts/swappable.h
    M libcxx/include/__config
    M libcxx/include/__coroutine/coroutine_handle.h
    M libcxx/include/__filesystem/directory_entry.h
    M libcxx/include/__filesystem/directory_iterator.h
    M libcxx/include/__filesystem/filesystem_error.h
    M libcxx/include/__filesystem/path.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/format_arg.h
    M libcxx/include/__format/format_context.h
    M libcxx/include/__format/format_functions.h
    M libcxx/include/__format/formatter_floating_point.h
    M libcxx/include/__format/formatter_integral.h
    M libcxx/include/__format/formatter_output.h
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/__format/write_escaped.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/compose.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/not_fn.h
    M libcxx/include/__functional/operations.h
    M libcxx/include/__functional/perfect_forward.h
    M libcxx/include/__functional/ranges_operations.h
    M libcxx/include/__functional/reference_wrapper.h
    M libcxx/include/__functional/weak_result_type.h
    M libcxx/include/__hash_table
    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/distance.h
    M libcxx/include/__iterator/front_insert_iterator.h
    M libcxx/include/__iterator/insert_iterator.h
    M libcxx/include/__iterator/istream_iterator.h
    M libcxx/include/__iterator/iter_swap.h
    M libcxx/include/__iterator/next.h
    M libcxx/include/__iterator/ostream_iterator.h
    M libcxx/include/__iterator/prev.h
    M libcxx/include/__iterator/reverse_access.h
    M libcxx/include/__iterator/wrap_iter.h
    M libcxx/include/__locale
    M libcxx/include/__locale_dir/locale_base_api/locale_guard.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_traits.h
    M libcxx/include/__memory/builtin_new_allocator.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/swap_allocator.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/voidify.h
    M libcxx/include/__mutex/once_flag.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/midpoint.h
    M libcxx/include/__numeric/partial_sum.h
    M libcxx/include/__numeric/reduce.h
    M libcxx/include/__numeric/transform_inclusive_scan.h
    M libcxx/include/__numeric/transform_reduce.h
    M libcxx/include/__random/binomial_distribution.h
    M libcxx/include/__random/cauchy_distribution.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/gamma_distribution.h
    M libcxx/include/__random/independent_bits_engine.h
    M libcxx/include/__random/lognormal_distribution.h
    M libcxx/include/__random/mersenne_twister_engine.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/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_real_distribution.h
    M libcxx/include/__random/weibull_distribution.h
    M libcxx/include/__split_buffer
    M libcxx/include/__string/char_traits.h
    M libcxx/include/__thread/thread.h
    M libcxx/include/__threading_support
    M libcxx/include/__tree
    M libcxx/include/__type_traits/invoke.h
    M libcxx/include/__type_traits/is_nothrow_constructible.h
    M libcxx/include/__type_traits/is_nothrow_convertible.h
    M libcxx/include/__utility/cmp.h
    M libcxx/include/__utility/exchange.h
    M libcxx/include/__utility/swap.h
    M libcxx/include/__utility/to_underlying.h
    M libcxx/include/any
    M libcxx/include/array
    M libcxx/include/barrier
    M libcxx/include/bitset
    M libcxx/include/complex
    M libcxx/include/condition_variable
    M libcxx/include/deque
    M libcxx/include/experimental/__config
    M libcxx/include/experimental/__memory
    M libcxx/include/experimental/iterator
    M libcxx/include/experimental/propagate_const
    M libcxx/include/ext/hash_map
    M libcxx/include/ext/hash_set
    M libcxx/include/forward_list
    M libcxx/include/fstream
    M libcxx/include/future
    M libcxx/include/iomanip
    M libcxx/include/ios
    M libcxx/include/istream
    M libcxx/include/limits
    M libcxx/include/list
    M libcxx/include/locale
    M libcxx/include/map
    M libcxx/include/mutex
    M libcxx/include/new
    M libcxx/include/optional
    M libcxx/include/ostream
    M libcxx/include/queue
    M libcxx/include/regex
    M libcxx/include/scoped_allocator
    M libcxx/include/set
    M libcxx/include/shared_mutex
    M libcxx/include/span
    M libcxx/include/sstream
    M libcxx/include/stack
    M libcxx/include/stdexcept
    M libcxx/include/streambuf
    M libcxx/include/string_view
    M libcxx/include/strstream
    M libcxx/include/tuple
    M libcxx/include/unordered_map
    M libcxx/include/unordered_set
    M libcxx/include/valarray
    M libcxx/include/variant
    M libcxx/src/chrono.cpp
    M libcxx/src/include/to_chars_floating_point.h
    M libcxx/src/ios.cpp
    M libcxx/src/iostream.cpp
    M libcxx/src/locale.cpp
    M libcxx/src/regex.cpp
    M libcxx/src/std_stream.h
    M libcxx/src/strstream.cpp
    M libcxx/src/support/win32/thread_win32.cpp
    M libcxx/src/vector.cpp

  Log Message:
  -----------
  [libc++] Replace uses of _VSTD:: by std:: (#74331)

As part of the upcoming clang-formatting of libc++, this patch performs
the long desired removal of the _VSTD macro.

See https://discourse.llvm.org/t/rfc-clang-formatting-all-of-libc-once-and-for-all
for the clang-format proposal.




More information about the All-commits mailing list