[libcxx-commits] [PATCH] D137186: [libc++] Add [[nodiscard]] extensions to ranges algorithms

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 1 12:07:16 PDT 2022


philnik created this revision.
philnik added reviewers: ldionne, Mordante, var-const, huixie90.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This mirrors what we have done in the classic algorithms


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137186

Files:
  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_count.h
  libcxx/include/__algorithm/ranges_equal.h
  libcxx/include/__algorithm/ranges_equal_range.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_includes.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_max.h
  libcxx/include/__algorithm/ranges_max_element.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_none_of.h
  libcxx/include/__algorithm/ranges_remove.h
  libcxx/include/__algorithm/ranges_remove_if.h
  libcxx/include/__algorithm/ranges_search.h
  libcxx/include/__algorithm/ranges_search_n.h
  libcxx/include/__algorithm/ranges_unique.h
  libcxx/include/__algorithm/ranges_upper_bound.h
  libcxx/test/libcxx/diagnostics/nodiscard_extensions.compile.pass.cpp
  libcxx/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp
  libcxx/test/libcxx/diagnostics/ranges.nodiscard.compile.pass.cpp
  libcxx/test/libcxx/diagnostics/ranges.nodiscard.verify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137186.472368.patch
Type: text/x-patch
Size: 61384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221101/b81d722d/attachment-0001.bin>


More information about the libcxx-commits mailing list