[all-commits] [llvm/llvm-project] dc017e: [libc++] Forward ranges::sort to instantiations in...
philnik777 via All-commits
all-commits at lists.llvm.org
Wed Feb 1 11:10:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc017e03ca55ed0b2054e4a7d5e5ca049a054fcc
https://github.com/llvm/llvm-project/commit/dc017e03ca55ed0b2054e4a7d5e5ca049a054fcc
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M libcxx/include/__algorithm/sort.h
M libcxx/src/algorithm.cpp
M libcxx/test/libcxx/algorithms/sort_stability.pass.cpp
Log Message:
-----------
[libc++] Forward ranges::sort to instantiations in the dylib
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`.
Reviewed By: ldionne, #libc
Spies: sstefan1, libcxx-commits
Differential Revision: https://reviews.llvm.org/D140824
More information about the All-commits
mailing list