[libcxx-commits] [PATCH] D105792: [libcxx][algorithms] adds ranges::find_if and ranges::find_if_not

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 12 22:09:40 PDT 2021


cjdb updated this revision to Diff 358149.
cjdb added a comment.

removes unnecessary `complexity_iterator` from `find_if_not` (you only need `complexity_iterator` if you're unable to use `complexity_invocable`)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105792/new/

https://reviews.llvm.org/D105792

Files:
  libcxx/include/__algorithm/find_if.h
  libcxx/include/__algorithm/find_if_not.h
  libcxx/include/algorithm
  libcxx/include/module.modulemap
  libcxx/test/libcxx/diagnostics/nodiscard_ranges_extensions.pass.cpp
  libcxx/test/libcxx/diagnostics/nodiscard_ranges_extensions.verify.cpp
  libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges_find_if/ranges_find_if.pass.cpp
  libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges_find_if/special_function.compile.pass.cpp
  libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges_find_if_not/ranges_find_if_not.pass.cpp
  libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges_find_if_not/special_function.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105792.358149.patch
Type: text/x-patch
Size: 29765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210713/2acc6ed0/attachment-0001.bin>


More information about the libcxx-commits mailing list