[all-commits] [llvm/llvm-project] 5d9565: Revert "Revert "[libc++] [P0879] constexpr std::nt...

Quuxplusone via All-commits all-commits at lists.llvm.org
Fri Feb 5 09:03:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d9565634c97a075940041a6756a2583fa1f0bc9
      https://github.com/llvm/llvm-project/commit/5d9565634c97a075940041a6756a2583fa1f0bc9
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M libcxx/include/algorithm
    M libcxx/test/std/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp
    M libcxx/test/std/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp

  Log Message:
  -----------
  Revert "Revert "[libc++] [P0879] constexpr std::nth_element, and rewrite its tests.""

This reverts commit b6ffece32035a90d181101f356bd9c04ea1d3122.

The bug is now fixed (it was a stupid cut-and-paste kind of error),
and the regression test added. The new patch is also simpler than the old one!

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




More information about the All-commits mailing list