summaryrefslogtreecommitdiffstats
path: root/libcxx/test/strings/basic.string/string.capacity
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-2011-698/+0
| | | | llvm-svn: 224658
* Split string capacity test into two parts and mark one part as UNSUPPORTED ↵Eric Fiselier2014-11-142-12/+54
| | | | | | | | | | | | | | | when using sanitizers. The test is split such that: - max_size.pass.cpp tests that string::resize() fails to allocator for max_size and max_size -1 - over_max_size.pass.cpp tests that string::resize() throws a length error for max_size + 1 The test was split into two because max_size.pass.cpp cannot pass with sanitizers but over_max_size.pass.cpp can. llvm-svn: 221969
* Found six (nmostly) identical files named 'test_allocator.h' in the libcxx ↵Marshall Clow2013-12-031-1/+1
| | | | | | test suite. Moved one to /support, made it a superset, and removed all but one of the others, and iupdated all the includes. Left the odd one (thread/futures/test_allocator.h) for later. llvm-svn: 196174
* There were two identical files named 'min_allocator.h'. Move one of them to ↵Marshall Clow2013-11-2610-10/+10
| | | | | | /support and delete the other. Then adjust all the tests that used them to include the moved one. No functionality change. llvm-svn: 195785
* Fix an off-by-one error in basic_string::__grow_by, where it would ↵Marshall Clow2013-11-061-6/+36
| | | | | | incorrectly throw length_error (instead of bad_alloc) when attempting to resize the string to 'max_size()'. Add tests for resizing to max_size +/-1 llvm-svn: 194151
* Fixes PR17148Marshall Clow2013-10-311-0/+6
| | | | llvm-svn: 193772
* Implement full support for non-pointer pointers in custom allocators for ↵Howard Hinnant2013-06-2810-0/+182
| | | | | | string. This completes the custom pointer support for the entire library. llvm-svn: 185167
* license changeHoward Hinnant2010-11-1610-20/+20
| | | | llvm-svn: 119395
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-1110-10/+10
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-1110-0/+438
llvm-svn: 103490
OpenPOWER on IntegriCloud