llvm-project/libcxx/test/std/containers/sequences/vector/vector.capacity
Eric Fiselier 55b31b4e69 [libcxx] Fix max_size() across all containers
Summary: The `max_size()` method of containers should respect both the allocator's reported `max_size` and the range of the `difference_type`. This patch makes all containers choose the smallest of those two values.

Reviewers: mclow.lists, EricWF

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D26885

llvm-svn: 287729
2016-11-23 01:18:56 +00:00
..
capacity.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
max_size.pass.cpp [libcxx] Fix max_size() across all containers 2016-11-23 01:18:56 +00:00
reserve.pass.cpp [PATCH] D25483: [libcxx] [test] Fix non-Standard assumptions about how many elements are allocated 2016-10-27 21:25:12 +00:00
resize_size.pass.cpp [PATCH] D25483: [libcxx] [test] Fix non-Standard assumptions about how many elements are allocated 2016-10-27 21:25:12 +00:00
resize_size_value.pass.cpp [PATCH] D25483: [libcxx] [test] Fix non-Standard assumptions about how many elements are allocated 2016-10-27 21:25:12 +00:00
shrink_to_fit.pass.cpp [libc++] Fix stack_allocator 2016-10-08 00:56:22 +00:00
swap.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00