[libcxx-commits] [PATCH] D140824: [libc++] Forward ranges::sort to instantiations in the dylib

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jan 1 12:11:22 PST 2023


philnik created this revision.
philnik added reviewers: ldionne, Mordante, var-const.
Herald added a project: All.
philnik requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: libcxx-commits, sstefan1.
Herald added a project: libc++.
Herald added a reviewer: libc++.

This patch removes _WrapAlgPolicy and related functionality. Instead, we explicitly forward to __sort now if we have an instantiation inside the dylib. If we don't we just call __introsort.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140824

Files:
  libcxx/include/__algorithm/sort.h
  libcxx/src/algorithm.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140824.485811.patch
Type: text/x-patch
Size: 21554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230101/570d41e4/attachment-0001.bin>


More information about the libcxx-commits mailing list