[libcxx-commits] [PATCH] D116296: [libc++] Add an early return for __partial_sort of an empty range.

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 3 06:38:54 PST 2022


ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.

LGTM, but I agree it would be good to add a test to avoid regressing that if we change our `partial_sort` implementation (which we might very well do at some point, since there is some work happening on `std::sort`).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116296/new/

https://reviews.llvm.org/D116296



More information about the libcxx-commits mailing list