Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move test into test/std subdirectory. | Eric Fiselier | 2014-12-20 | 181 | -36931/+0 |
| | | | | llvm-svn: 224658 | ||||
* | Split string capacity test into two parts and mark one part as UNSUPPORTED ↵ | Eric Fiselier | 2014-11-14 | 2 | -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 | ||||
* | Fix bug #20335 - memory leak when move-constructing a string with unequal ↵ | Marshall Clow | 2014-07-17 | 1 | -0/+10 |
| | | | | | | allocator. Thanks to Thomas Koeppe for the report llvm-svn: 213269 | ||||
* | Implement LWG #2268: Setting a default argument in the declaration of a ↵ | Marshall Clow | 2014-03-04 | 5 | -5/+179 |
| | | | | | | member function assign of std::basic_string. llvm-svn: 202876 | ||||
* | Add license headers to a bunch of libc++ files that were missing them. No ↵ | Marshall Clow | 2014-01-16 | 2 | -0/+18 |
| | | | | | | functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. llvm-svn: 199400 | ||||
* | Found six (nmostly) identical files named 'test_allocator.h' in the libcxx ↵ | Marshall Clow | 2013-12-03 | 20 | -94/+19 |
| | | | | | | 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 Clow | 2013-11-26 | 168 | -419/+167 |
| | | | | | | /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 Clow | 2013-11-06 | 1 | -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 PR17148 | Marshall Clow | 2013-10-31 | 1 | -0/+6 |
| | | | | llvm-svn: 193772 | ||||
* | Rename _LIBCPP_DEBUG2 to _LIBCPP_DEBUG. | Howard Hinnant | 2013-08-23 | 27 | -35/+35 |
| | | | | llvm-svn: 189140 | ||||
* | Debug mode for string. This commit also marks the first time libc++ ↵ | Howard Hinnant | 2013-08-23 | 32 | -5/+1094 |
| | | | | | | debug-mode has found a bug (found one in regex). Had to play with extern templates a bit to get this to work since string is heavily used within libc++.dylib. llvm-svn: 189114 | ||||
* | N3644 tests for map/multimap/set/multiset. Drive-by NOEXCEPT for ↵ | Marshall Clow | 2013-08-08 | 1 | -4/+4 |
| | | | | | | __tree_const_iterator constructor. Fix comment typos in other tests llvm-svn: 188019 | ||||
* | N3644 support for <string> and <vector> | Marshall Clow | 2013-08-07 | 1 | -0/+73 |
| | | | | llvm-svn: 187909 | ||||
* | Implement full support for non-pointer pointers in custom allocators for ↵ | Howard Hinnant | 2013-06-28 | 150 | -483/+4957 |
| | | | | | | string. This completes the custom pointer support for the entire library. llvm-svn: 185167 | ||||
* | This is a start at making the libc++ test suite friendlier to the ↵ | Howard Hinnant | 2013-03-23 | 1 | -1/+6 |
| | | | | | | -fnoexceptions flag. Although this is not a complete solution, it does reduce the number of test failures on OS X from 467 to 128 on OS X when -fno-exceptions is enabled, and does not impact the number of failures at all when -fno-exceptions is not enabled. The bulk of this code was donated anonymously. llvm-svn: 177824 | ||||
* | Klaas de Vries: Fix bug in libc++'s std::string::find_first_not_of. | Howard Hinnant | 2012-12-31 | 1 | -0/+2 |
| | | | | llvm-svn: 171321 | ||||
* | Fix <rdar://problem/10256836> getline of an empty string mistakenly causes ↵ | Howard Hinnant | 2011-10-09 | 1 | -2/+8 |
| | | | | | | failure llvm-svn: 141506 | ||||
* | Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574 | Howard Hinnant | 2011-08-12 | 7 | -14/+14 |
| | | | | llvm-svn: 137522 | ||||
* | Bring noexcept for <string> inline with other containers. | Howard Hinnant | 2011-06-03 | 5 | -0/+238 |
| | | | | llvm-svn: 132573 | ||||
* | test: Rename string_op+= to string_op_plus_equal. Windows git doesn't like it. | Michael J. Spencer | 2010-12-08 | 4 | -0/+0 |
| | | | | llvm-svn: 121265 | ||||
* | LWG 1323 | Howard Hinnant | 2010-11-17 | 6 | -17/+17 |
| | | | | llvm-svn: 119560 | ||||
* | license change | Howard Hinnant | 2010-11-16 | 153 | -306/+306 |
| | | | | llvm-svn: 119395 | ||||
* | Changed __config to react to all of clang's currently documented has_feature ↵ | Howard Hinnant | 2010-09-04 | 17 | -50/+50 |
| | | | | | | flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086 | ||||
* | Fixing whitespace problems | Howard Hinnant | 2010-08-22 | 73 | -128/+128 |
| | | | | llvm-svn: 111764 | ||||
* | Replaced :: with _ in several path names | Howard Hinnant | 2010-05-16 | 23 | -0/+0 |
| | | | | llvm-svn: 103907 | ||||
* | Replaced :: with _ in several path names | Howard Hinnant | 2010-05-16 | 77 | -0/+0 |
| | | | | llvm-svn: 103906 | ||||
* | Wiped out some non-ascii characters that snuck into the copyright. | Howard Hinnant | 2010-05-11 | 153 | -153/+153 |
| | | | | llvm-svn: 103516 | ||||
* | libcxx initial import | Howard Hinnant | 2010-05-11 | 156 | -0/+31091 |
llvm-svn: 103490 |