mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 08:16:06 +00:00

This PR addresses an undefined behavior that arises when using the `std::fill` and `std::fill_n` algorithms, as well as their ranges counterparts `ranges::fill` and `ranges::fill_n`, with `vector<bool, Alloc>` that utilizes a custom-sized allocator with small integral types.