[libcxx-commits] [libcxx] [libc++] Add hardening assertion test for `vector<bool>::operator[]` (PR #179452)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 3 13:52:41 PST 2026
Jitik12 wrote:
@frederick-vs-ja
Thanks for pointing that out. You’re right that basic out-of-bounds assertions for operator[] are already covered in #121366
I’m planning to add additional coverage for non-trivial vector<bool> edge cases to `libcxx/test/libcxx/containers/sequences/vector.bool/assert.pass.cpp`, where the existing tests don’t currently exercise those paths.
I’ll follow up with that shortly.
https://github.com/llvm/llvm-project/pull/179452
More information about the libcxx-commits
mailing list