[all-commits] [llvm/llvm-project] 660b24: [libc++] Add [[nodiscard]] extensions to ranges al...
philnik777 via All-commits
all-commits at lists.llvm.org
Sat Nov 5 08:38:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 660b243120bcefdc108471c724fec382b062ad62
https://github.com/llvm/llvm-project/commit/660b243120bcefdc108471c724fec382b062ad62
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2022-11-05 (Sat, 05 Nov 2022)
Changed paths:
M libcxx/docs/UsingLibcxx.rst
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_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_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_unique.h
M libcxx/include/__algorithm/ranges_upper_bound.h
A libcxx/test/libcxx/diagnostics/nodiscard_extensions.compile.pass.cpp
R libcxx/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp
A libcxx/test/libcxx/diagnostics/ranges.nodiscard_extensions.compile.pass.cpp
A libcxx/test/libcxx/diagnostics/ranges.nodiscard_extensions.verify.cpp
M libcxx/test/std/algorithms/alg.sorting/alg.clamp/assert.ranges_clamp.pass.cpp
M libcxx/test/std/algorithms/ranges_robust_against_differing_projections.pass.cpp
M libcxx/test/std/algorithms/ranges_robust_against_nonbool_predicates.pass.cpp
M libcxx/test/std/algorithms/ranges_robust_against_omitting_invoke.pass.cpp
M libcxx/test/std/algorithms/ranges_robust_against_proxy_iterators.pass.cpp
Log Message:
-----------
[libc++] Add [[nodiscard]] extensions to ranges algorithms
This mirrors what we have done in the classic algorithms
Reviewed By: ldionne, #libc
Spies: libcxx-commits
Differential Revision: https://reviews.llvm.org/D137186
More information about the All-commits
mailing list