diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2024-08-27 16:54:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 16:54:05 +0200 |
commit | d4ffccfce103b01401b8a9222e373f2d404f8439 (patch) | |
tree | fb79ead2c382c470936e889cc15847a803d84049 /lldb/source/Commands/CommandObjectScripting.cpp | |
parent | e8863748ba76462cdbfdcbd7bd99cadf392c01f4 (diff) | |
download | llvm-d4ffccfce103b01401b8a9222e373f2d404f8439.zip llvm-d4ffccfce103b01401b8a9222e373f2d404f8439.tar.gz llvm-d4ffccfce103b01401b8a9222e373f2d404f8439.tar.bz2 |
[libc++] Simplify the implementation of std::sort a bit (#104902)
This does a few things to canonicalize the library a bit. Specifically
- use `__desugars_to_v` instead of the custom `__is_simple_comparator`
- make `__use_branchless_sort` an inline variable
- remove the `_maybe_branchless` versions of the `__sortN` functions and
overload based on whether we can do branchless sorting instead.
Diffstat (limited to 'lldb/source/Commands/CommandObjectScripting.cpp')
0 files changed, 0 insertions, 0 deletions