[all-commits] [llvm/llvm-project] 3e02c8: [libc++] [test] Add ranges_robust_against_copying_...

philnik777 via All-commits all-commits at lists.llvm.org
Thu Mar 17 14:36:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e02c8e2fc03fa7f2a599ec5a528f1025fcd102e
      https://github.com/llvm/llvm-project/commit/3e02c8e2fc03fa7f2a599ec5a528f1025fcd102e
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    A libcxx/test/libcxx/algorithms/ranges_robust_against_copying_comparators.pass.cpp
    A libcxx/test/libcxx/algorithms/ranges_robust_against_copying_projections.pass.cpp
    M libcxx/test/libcxx/algorithms/robust_against_copying_comparators.pass.cpp

  Log Message:
  -----------
  [libc++] [test] Add ranges_robust_against_copying_*.pass.cpp

    This tests the same QoI issue as the existing STL Classic test,
    but for the Ranges algorithms. Also, do the same thing for all
    the algorithms that take projections.

I found a few missing algorithms and added them to the existing test, too. `std::find_first_of` currently fails; I should look at why that is (and in particular, what is it doing weird that //makes// it inconsistent with the entire rest of libc++?).

Reviewed By: ldionne, #libc

Spies: libcxx-commits

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




More information about the All-commits mailing list