[libcxx-commits] [PATCH] D129741: [libc++][ranges][NFC] Consolidate range algorithm checks for returning `dangling`.

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 14 01:25:37 PDT 2022


var-const created this revision.
Herald added a project: All.
var-const requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Also simplify the `robust` test files for non-boolean predicates and
omitting `std::invoke`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129741

Files:
  libcxx/include/__algorithm/ranges_for_each_n.h
  libcxx/include/__algorithm/ranges_generate_n.h
  libcxx/include/__algorithm/ranges_includes.h
  libcxx/include/__algorithm/ranges_is_heap.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/test/std/algorithms/ranges_robust_against_dangling.compile.pass.cpp
  libcxx/test/std/algorithms/ranges_robust_against_nonbool_predicates.compile.pass.cpp
  libcxx/test/std/algorithms/ranges_robust_against_omitting_invoke.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129741.444557.patch
Type: text/x-patch
Size: 37221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220714/5b6c289b/attachment-0001.bin>


More information about the libcxx-commits mailing list