llvm-capstone/libcxx
Nikolas Klauser 4d20cfcf4e [libc++] Simplify single-iterator __bit_iterator algorithm specializations
The single-iterator algorithms have an implementation for `false` and `true`, which are almost identical. Instead of writing two functions, this refactors the code to take the value searched for as a template parameter. This avoids a lot of code duplication and makes it easier to reason about the algorithm and their difference.

Reviewed By: #libc, Mordante

Spies: Mordante, libcxx-commits

Differential Revision: https://reviews.llvm.org/D156033
2023-07-27 14:57:45 -07:00
..
benchmarks Use hash value checks optimizations consistently 2023-07-04 21:01:08 +02:00
cmake [libc++] Make sure we use the libdispatch backend on Apple platforms 2023-07-20 15:53:27 -04:00
docs [libc++][doc] Adds LLVM 18.0.0 release nostes. 2023-07-25 19:49:08 +02:00
include [libc++] Simplify single-iterator __bit_iterator algorithm specializations 2023-07-27 14:57:45 -07:00
lib [libc++] Remove symbols for a std::allocator_arg & friends from the dylib 2023-04-19 17:27:14 -04:00
modules [libc++][mdspan] Implement std::mdspan class 2023-07-25 06:12:56 -06:00
src [libc++][hardening] Categorize more assertions. 2023-07-24 14:57:01 -07:00
test [libc++][Modules] Recreate the top level std clang module 2023-07-27 14:50:18 -07:00
utils [libc++][Modules] Recreate the top level std clang module 2023-07-27 14:50:18 -07:00
.clang-format [libc++] Fix thread annotations on shared_mutex and shared_timed_mutex 2023-07-06 08:37:10 -04:00
.clang-tidy [libc++] Fix template parameter naming and enforce it through readability-identifier-naming 2023-07-24 19:54:12 -07:00
.gitignore
appveyor-reqs-install.cmd
appveyor.yml
CMakeLists.txt [libcxx] Link to fewer MSVC CRT libraries 2023-07-19 11:31:53 +03:00
CREDITS.TXT [libcxx] Add mdspan/extents 2023-05-16 14:30:36 -07:00
LICENSE.TXT
TODO.TXT