diff options
author | Peng Liu <winner245@hotmail.com> | 2025-01-13 15:31:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-13 15:31:05 -0500 |
commit | 550d32f205202b73f21903b29df04fe2e89ae648 (patch) | |
tree | de60559bd825da78e36bfaf6bb9adfb4ecb9108f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 83be69cf9ade7e1f78df297518b1490d54794edc (diff) | |
download | llvm-550d32f205202b73f21903b29df04fe2e89ae648.zip llvm-550d32f205202b73f21903b29df04fe2e89ae648.tar.gz llvm-550d32f205202b73f21903b29df04fe2e89ae648.tar.bz2 |
[libc++][test] Add exception tests for vector capacity operations (#118141)
As a follow-up to #117662, this PR provides a comprehensive set of
exception tests for the following capacity-related functions in
`std::vector`. Specifically, it includes tests for the following
functions:
- `reserve(size_type)`
- `resize(size_type)` and `resize(size_type, const_reference)`
- `shrink_to_fit()`
Previously, the exception safety tests for these functions were either
missing or inadequate. We need a thorough coverage of exception tests to
validate that these operations provide strong exception guarantees under
various exceptional scenarios.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions