[all-commits] [llvm/llvm-project] bf9bf2: [libc++] Implement part of P2562R1: constexpr `std...

A. Jiang via All-commits all-commits at lists.llvm.org
Mon Mar 3 17:23:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf9bf291a3174a3c7b50ec37ddf5782767827c61
      https://github.com/llvm/llvm-project/commit/bf9bf291a3174a3c7b50ec37ddf5782767827c61
  Author: A. Jiang <de34 at live.cn>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M libcxx/include/__algorithm/stable_partition.h
    M libcxx/include/algorithm
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp
    M libcxx/test/std/algorithms/robust_against_proxy_iterators_lifetime_bugs.pass.cpp
    M libcxx/test/std/algorithms/robust_re_difference_type.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Implement part of P2562R1: constexpr `std::stable_partition` (#128868)

Drive-by changes:
- Enables no-memory case for Clang.
- Enables `robust_re_difference_type.compile.pass.cpp` and
`robust_against_proxy_iterators_lifetime_bugs.pass.cpp` test coverage
for `std::stable_sort` in constant evaluation since C++26. The changes
were missing in the PR making `std::stable_sort` `constexpr`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list