[all-commits] [llvm/llvm-project] d4c532: [libc++][ranges][NFC] Consolidate some repetitive ...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Tue Jul 12 02:07:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4c53202ebb6a61153f9aa39276f9b0d45f3720a
      https://github.com/llvm/llvm-project/commit/d4c53202ebb6a61153f9aa39276f9b0d45f3720a
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

  Changed paths:
    M libcxx/docs/Status/RangesAlgorithms.csv
    A libcxx/test/std/algorithms/ranges_robust_against_nonbool_predicates.compile.pass.cpp
    A libcxx/test/std/algorithms/ranges_robust_against_omitting_invoke.compile.pass.cpp

  Log Message:
  -----------
  [libc++][ranges][NFC] Consolidate some repetitive range algorithm tests:

- checking that the algorithm supports predicates returning
  a non-boolean type that's implicitly convertible to `bool`;
- checking that predicates and/or projections are invoked using
  `std::invoke`.

Differential Revision: https://reviews.llvm.org/D129414




More information about the All-commits mailing list