aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPeng Liu <winner245@hotmail.com>2025-03-20 08:37:39 -0400
committerGitHub <noreply@github.com>2025-03-20 08:37:39 -0400
commit9dc854ccbd3d29c8dcf6b81b691724c9fc4bfc6c (patch)
tree8777c35ecc7f8b5529daaedfe527ee41e37c06fe /clang/lib/CodeGen/CodeGenModule.cpp
parenta5d4b50f936628209ca0c53249f28bc212c138c0 (diff)
downloadllvm-9dc854ccbd3d29c8dcf6b81b691724c9fc4bfc6c.zip
llvm-9dc854ccbd3d29c8dcf6b81b691724c9fc4bfc6c.tar.gz
llvm-9dc854ccbd3d29c8dcf6b81b691724c9fc4bfc6c.tar.bz2
[libc++] Improve test coverage for copy/move ctors for vector<bool> (#120132)
The current tests for `vector<bool>` fail to adequately cover realistic scenarios, as they are limited to cases of up to 3 bytes, representing less than 1/2 of a word size on a 64-bit system. However, most `vector<bool>` operations rely on code paths triggered only when handling multiple storage words (8 bytes each). To address this gap, this PR rewrites the tests for copy and move constructors, as well as allocator-extended copy and move constructors, ensuring that previously untested code paths are now thoroughly validated.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions