summaryrefslogtreecommitdiffstats
path: root/libcxx/test/strings
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-20275-40752/+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
* Mark cuchar tests as always xfail since we don't provide the header'Eric Fiselier2014-08-182-2/+2
| | | | llvm-svn: 215873
* Fix bug #20335 - memory leak when move-constructing a string with unequal ↵Marshall Clow2014-07-171-0/+10
| | | | | | allocator. Thanks to Thomas Koeppe for the report llvm-svn: 213269
* A bunch of the char.traits tests were using unicode literals. #ifdef those ↵Marshall Clow2014-06-1018-0/+36
| | | | | | bits out on c++03, since it doesn't support u"" and U "" style strings. llvm-svn: 210560
* Implement LWG #2268: Setting a default argument in the declaration of a ↵Marshall Clow2014-03-045-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 Clow2014-01-162-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 Clow2013-12-0320-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 Clow2013-11-26168-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 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
* Mark namespaces for user defined literals as 'inline'Marshall Clow2013-10-052-2/+22
| | | | llvm-svn: 192047
* Rename _LIBCPP_DEBUG2 to _LIBCPP_DEBUG.Howard Hinnant2013-08-2327-35/+35
| | | | llvm-svn: 189140
* Debug mode for string. This commit also marks the first time libc++ ↵Howard Hinnant2013-08-2332-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
* XFAIL 3 tests on darwin 11-12. The tests have recently been modified, are ↵Howard Hinnant2013-08-223-0/+9
| | | | | | correct, and pass with an updated libc++.dylib llvm-svn: 188964
* Eradicate tabsMarshall Clow2013-08-133-3/+3
| | | | llvm-svn: 188322
* Added more tests for numeric conversion error handing; Refs LWG issue 2009Marshall Clow2013-08-134-0/+66
| | | | llvm-svn: 188282
* N3644 tests for map/multimap/set/multiset. Drive-by NOEXCEPT for ↵Marshall Clow2013-08-081-4/+4
| | | | | | __tree_const_iterator constructor. Fix comment typos in other tests llvm-svn: 188019
* N3644 support for <string> and <vector>Marshall Clow2013-08-071-0/+73
| | | | llvm-svn: 187909
* War on tabsHoward Hinnant2013-08-075-32/+32
| | | | llvm-svn: 187906
* Implement string suffixes from N3642Marshall Clow2013-07-235-0/+129
| | | | llvm-svn: 186956
* Implement full support for non-pointer pointers in custom allocators for ↵Howard Hinnant2013-06-28150-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 Hinnant2013-03-231-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
* [tests] Mark some string.conversions expected failures (with system libc++).Daniel Dunbar2013-02-052-0/+6
| | | | llvm-svn: 174451
* [tests] XFAIL a few things that require libc (?) support missing on Darwin.Daniel Dunbar2013-02-052-0/+4
| | | | llvm-svn: 174450
* Fix string conversions functions to throw out_of_range properly. Fixes ↵Howard Hinnant2013-01-142-4/+14
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14919. llvm-svn: 172447
* Klaas de Vries: Fix bug in libc++'s std::string::find_first_not_of.Howard Hinnant2012-12-311-0/+2
| | | | llvm-svn: 171321
* Fix <rdar://problem/10256836> getline of an empty string mistakenly causes ↵Howard Hinnant2011-10-091-2/+8
| | | | | | failure llvm-svn: 141506
* Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574Howard Hinnant2011-08-127-14/+14
| | | | llvm-svn: 137522
* Fix wchar tests by not assuming that tm is complete and by using theAlexis Hunt2011-07-151-2/+6
| | | | | | proper va_list time on non-darwin platforms. llvm-svn: 135247
* Bring noexcept for <string> inline with other containers.Howard Hinnant2011-06-035-0/+238
| | | | llvm-svn: 132573
* test: Rename string_op+= to string_op_plus_equal. Windows git doesn't like it.Michael J. Spencer2010-12-084-0/+0
| | | | llvm-svn: 121265
* LWG 1323Howard Hinnant2010-11-176-17/+17
| | | | llvm-svn: 119560
* license changeHoward Hinnant2010-11-16241-482/+482
| | | | llvm-svn: 119395
* fixing whitespaceHoward Hinnant2010-09-281-1/+1
| | | | llvm-svn: 114967
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-0417-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 problemsHoward Hinnant2010-08-22105-182/+182
| | | | llvm-svn: 111764
* Fix conflict with cstring and using namespace stdHoward Hinnant2010-08-101-5/+5
| | | | llvm-svn: 110736
* [string.conversions]Howard Hinnant2010-06-0211-0/+1226
| | | | llvm-svn: 105336
* Replaced :: with _ in several path namesHoward Hinnant2010-05-1623-0/+0
| | | | llvm-svn: 103907
* Replaced :: with _ in several path namesHoward Hinnant2010-05-1677-0/+0
| | | | llvm-svn: 103906
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-11230-230/+230
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-11233-0/+33402
llvm-svn: 103490
OpenPOWER on IntegriCloud