[all-commits] [llvm/llvm-project] 25aa29: [libc++][ranges][NFC] Consolidate range algorithm ...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Tue Jul 19 20:46:38 PDT 2022


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

  Changed paths:
    M libcxx/include/__algorithm/ranges_for_each_n.h
    M libcxx/include/__algorithm/ranges_generate_n.h
    M libcxx/include/__algorithm/ranges_includes.h
    M libcxx/include/__algorithm/ranges_is_heap.h
    A libcxx/test/std/algorithms/ranges_robust_against_dangling.pass.cpp
    R libcxx/test/std/algorithms/ranges_robust_against_nonbool_predicates.compile.pass.cpp
    A libcxx/test/std/algorithms/ranges_robust_against_nonbool_predicates.pass.cpp
    R libcxx/test/std/algorithms/ranges_robust_against_omitting_invoke.compile.pass.cpp
    A 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++][ranges][NFC] Consolidate range algorithm checks for returning `dangling`.

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

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




More information about the All-commits mailing list