Skip to content

Commit 0fd3429

Browse files
committed
Rename test file and slighly improve comments
1 parent 60bb546 commit 0fd3429

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libcxx/test/std/containers/sequences/vector.bool/sized_allocator.pass.cpp renamed to libcxx/test/std/containers/sequences/vector.bool/max_call_varying_size_types.pass.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
// XFAIL: FROZEN-CXX03-HEADERS-FIXME
1313

14-
// This test ensures that ambiguous calls to std::max in vector<bool> is fixed.
15-
// Fix https://github.com/llvm/llvm-project/issues/121713
14+
// This test ensures that the internal call to std::max within vector<bool> is not ambiguous under various size types.
15+
// Related issue: https://github.com/llvm/llvm-project/issues/121713.
1616

1717
#include <cassert>
1818
#include <cstddef>
@@ -26,8 +26,6 @@
2626
#include "test_macros.h"
2727

2828
TEST_CONSTEXPR_CXX20 bool tests() {
29-
// The following tests are typical ways to trigger reallocations where `std::max` is used to calculate the capacity.
30-
// The purpose of these tests is to ensure that the ambiguous internal calls to `std::max` have been fixed.
3129
{
3230
using Alloc = sized_allocator<bool, std::uint8_t, std::int8_t>;
3331
std::vector<bool, Alloc> c(Alloc(1));

0 commit comments

Comments
 (0)