[all-commits] [llvm/llvm-project] c07f48: [libc++] Remove _LIBCPP_DISABLE_NODISCARD_EXTENSIO...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Wed Apr 17 01:46:11 PDT 2024


  Branch: refs/heads/users/philnik777/remove_nodiscard_ext
  Home:   https://github.com/llvm/llvm-project
  Commit: c07f4887e3f6a13a32ac9505e2d8716720f367d5
      https://github.com/llvm/llvm-project/commit/c07f4887e3f6a13a32ac9505e2d8716720f367d5
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

  Changed paths:
    M libcxx/.clang-format
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/UsingLibcxx.rst
    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/clamp.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/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/fold.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/lexicographical_compare.h
    M libcxx/include/__algorithm/lexicographical_compare_three_way.h
    M libcxx/include/__algorithm/lower_bound.h
    M libcxx/include/__algorithm/max.h
    M libcxx/include/__algorithm/max_element.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/none_of.h
    M libcxx/include/__algorithm/pstl_any_all_none_of.h
    M libcxx/include/__algorithm/pstl_is_partitioned.h
    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_contains.h
    M libcxx/include/__algorithm/ranges_contains_subrange.h
    M libcxx/include/__algorithm/ranges_count.h
    M libcxx/include/__algorithm/ranges_count_if.h
    M libcxx/include/__algorithm/ranges_ends_with.h
    M libcxx/include/__algorithm/ranges_equal.h
    M libcxx/include/__algorithm/ranges_equal_range.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_includes.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_max.h
    M libcxx/include/__algorithm/ranges_max_element.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_none_of.h
    M libcxx/include/__algorithm/ranges_remove.h
    M libcxx/include/__algorithm/ranges_remove_if.h
    M libcxx/include/__algorithm/ranges_search.h
    M libcxx/include/__algorithm/ranges_search_n.h
    M libcxx/include/__algorithm/ranges_starts_with.h
    M libcxx/include/__algorithm/ranges_unique.h
    M libcxx/include/__algorithm/ranges_upper_bound.h
    M libcxx/include/__algorithm/remove.h
    M libcxx/include/__algorithm/remove_if.h
    M libcxx/include/__algorithm/search.h
    M libcxx/include/__algorithm/search_n.h
    M libcxx/include/__algorithm/unique.h
    M libcxx/include/__algorithm/upper_bound.h
    M libcxx/include/__bit/bit_cast.h
    M libcxx/include/__bit/bit_ceil.h
    M libcxx/include/__bit/bit_floor.h
    M libcxx/include/__bit/bit_width.h
    M libcxx/include/__bit/byteswap.h
    M libcxx/include/__bit/countl.h
    M libcxx/include/__bit/countr.h
    M libcxx/include/__bit/has_single_bit.h
    M libcxx/include/__bit/popcount.h
    M libcxx/include/__chrono/leap_second.h
    M libcxx/include/__chrono/time_zone.h
    M libcxx/include/__chrono/time_zone_link.h
    M libcxx/include/__chrono/tzdb.h
    M libcxx/include/__chrono/tzdb_list.h
    M libcxx/include/__config
    M libcxx/include/__filesystem/path.h
    M libcxx/include/__format/format_functions.h
    M libcxx/include/__functional/identity.h
    M libcxx/include/__iterator/empty.h
    M libcxx/include/__math/abs.h
    M libcxx/include/__math/copysign.h
    M libcxx/include/__math/min_max.h
    M libcxx/include/__math/roots.h
    M libcxx/include/__math/rounding_functions.h
    M libcxx/include/__math/traits.h
    M libcxx/include/__memory/allocator.h
    M libcxx/include/__memory/allocator_traits.h
    M libcxx/include/__memory/temporary_buffer.h
    M libcxx/include/__memory_resource/memory_resource.h
    M libcxx/include/__memory_resource/polymorphic_allocator.h
    M libcxx/include/__mutex/lock_guard.h
    M libcxx/include/__node_handle
    M libcxx/include/__ranges/as_rvalue_view.h
    M libcxx/include/__ranges/chunk_by_view.h
    M libcxx/include/__ranges/drop_view.h
    M libcxx/include/__ranges/repeat_view.h
    M libcxx/include/__ranges/split_view.h
    M libcxx/include/__ranges/take_view.h
    M libcxx/include/__ranges/to.h
    M libcxx/include/__utility/as_const.h
    M libcxx/include/__utility/forward.h
    M libcxx/include/__utility/move.h
    M libcxx/include/__utility/to_underlying.h
    M libcxx/include/array
    M libcxx/include/barrier
    M libcxx/include/cstddef
    M libcxx/include/deque
    M libcxx/include/forward_list
    M libcxx/include/future
    M libcxx/include/limits
    M libcxx/include/list
    M libcxx/include/map
    M libcxx/include/math.h
    M libcxx/include/module.modulemap
    M libcxx/include/new
    M libcxx/include/queue
    M libcxx/include/regex
    M libcxx/include/scoped_allocator
    M libcxx/include/set
    M libcxx/include/stack
    M libcxx/include/stdlib.h
    M libcxx/include/string
    M libcxx/include/string_view
    M libcxx/include/unordered_map
    M libcxx/include/unordered_set
    M libcxx/include/vector
    M libcxx/src/tzdb.cpp
    A libcxx/test/libcxx/diagnostics/algorithm.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/array.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/bit.nodiscard.verify.cpp
    R libcxx/test/libcxx/diagnostics/bit.nodiscard_extensions.compile.pass.cpp
    R libcxx/test/libcxx/diagnostics/bit.nodiscard_extensions.verify.cpp
    A libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
    R libcxx/test/libcxx/diagnostics/chrono.nodiscard_extensions.compile.pass.cpp
    R libcxx/test/libcxx/diagnostics/chrono.nodiscard_extensions.verify.cpp
    A libcxx/test/libcxx/diagnostics/cmath.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/cstddef.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/cstdlib.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/deque.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/filesystem.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/format.nodiscard.verify.cpp
    R libcxx/test/libcxx/diagnostics/format.nodiscard_extensions.compile.pass.cpp
    R libcxx/test/libcxx/diagnostics/format.nodiscard_extensions.verify.cpp
    A libcxx/test/libcxx/diagnostics/forward_list.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/functional.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/future.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/iterator.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/limits.nodiscard.verify.cpp
    R libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.compile.pass.cpp
    R libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.verify.cpp
    A libcxx/test/libcxx/diagnostics/list.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/map.nodiscard.verify.cpp
    R libcxx/test/libcxx/diagnostics/math_nodiscard_extensions.verify.cpp
    A libcxx/test/libcxx/diagnostics/memory.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/memory_resource.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/mutex.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/new.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/node_handle.nodiscard.verify.cpp
    R libcxx/test/libcxx/diagnostics/nodiscard.pass.cpp
    R libcxx/test/libcxx/diagnostics/nodiscard_aftercxx17.verify.cpp
    R libcxx/test/libcxx/diagnostics/nodiscard_extensions.compile.pass.cpp
    R libcxx/test/libcxx/diagnostics/nodiscard_extensions.verify.cpp
    A libcxx/test/libcxx/diagnostics/pstl.nodiscard.verify.cpp
    R libcxx/test/libcxx/diagnostics/pstl.nodiscard_extensions.compile.pass.cpp
    R libcxx/test/libcxx/diagnostics/pstl.nodiscard_extensions.verify.cpp
    A libcxx/test/libcxx/diagnostics/queue.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/ranges.nodiscard.verify.cpp
    R libcxx/test/libcxx/diagnostics/ranges.nodiscard_extensions.compile.pass.cpp
    R libcxx/test/libcxx/diagnostics/ranges.nodiscard_extensions.verify.cpp
    A libcxx/test/libcxx/diagnostics/regex.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/scoped_allocator.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/set.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/stack.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/string.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/string_view.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/unordered_map.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/unordered_set.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/utility.nodiscard.verify.cpp
    A libcxx/test/libcxx/diagnostics/vector.nodiscard.verify.cpp
    R libcxx/test/libcxx/diagnostics/view_adaptors.nodiscard_extensions.verify.cpp
    R libcxx/test/libcxx/ranges/range.adaptors/range.chunk.by/adaptor.nodiscard.verify.cpp
    R libcxx/test/libcxx/ranges/range.utility/range.utility.conv/to.nodiscard.verify.cpp
    R libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.nodiscard.verify.cpp

  Log Message:
  -----------
  [libc++] Remove _LIBCPP_DISABLE_NODISCARD_EXTENSIONS and refactor the tests



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list