summaryrefslogtreecommitdiff
path: root/libcxx/test/strings
AgeCommit message (Collapse)Author
2014-12-20Move test into test/std subdirectory.Eric Fiselier
llvm-svn: 224658
2014-11-14Split string capacity test into two parts and mark one part as UNSUPPORTED ↵Eric Fiselier
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
2014-08-18Mark cuchar tests as always xfail since we don't provide the header'Eric Fiselier
llvm-svn: 215873
2014-07-17Fix bug #20335 - memory leak when move-constructing a string with unequal ↵Marshall Clow
allocator. Thanks to Thomas Koeppe for the report llvm-svn: 213269
2014-06-10A bunch of the char.traits tests were using unicode literals. #ifdef those ↵Marshall Clow
bits out on c++03, since it doesn't support u"" and U "" style strings. llvm-svn: 210560
2014-03-04Implement LWG #2268: Setting a default argument in the declaration of a ↵Marshall Clow
member function assign of std::basic_string. llvm-svn: 202876
2014-01-16Add license headers to a bunch of libc++ files that were missing them. No ↵Marshall Clow
functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. llvm-svn: 199400
2013-12-03Found six (nmostly) identical files named 'test_allocator.h' in the libcxx ↵Marshall Clow
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
2013-11-26There were two identical files named 'min_allocator.h'. Move one of them to ↵Marshall Clow
/support and delete the other. Then adjust all the tests that used them to include the moved one. No functionality change. llvm-svn: 195785
2013-11-06Fix an off-by-one error in basic_string::__grow_by, where it would ↵Marshall Clow
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
2013-10-31Fixes PR17148Marshall Clow
llvm-svn: 193772
2013-10-05Mark namespaces for user defined literals as 'inline'Marshall Clow
llvm-svn: 192047
2013-08-23Rename _LIBCPP_DEBUG2 to _LIBCPP_DEBUG.Howard Hinnant
llvm-svn: 189140
2013-08-23Debug mode for string. This commit also marks the first time libc++ ↵Howard Hinnant
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
2013-08-22XFAIL 3 tests on darwin 11-12. The tests have recently been modified, are ↵Howard Hinnant
correct, and pass with an updated libc++.dylib llvm-svn: 188964
2013-08-13Eradicate tabsMarshall Clow
llvm-svn: 188322
2013-08-13Added more tests for numeric conversion error handing; Refs LWG issue 2009Marshall Clow
llvm-svn: 188282
2013-08-08N3644 tests for map/multimap/set/multiset. Drive-by NOEXCEPT for ↵Marshall Clow
__tree_const_iterator constructor. Fix comment typos in other tests llvm-svn: 188019
2013-08-07N3644 support for <string> and <vector>Marshall Clow
llvm-svn: 187909
2013-08-07War on tabsHoward Hinnant
llvm-svn: 187906
2013-07-23Implement string suffixes from N3642Marshall Clow
llvm-svn: 186956
2013-06-28Implement full support for non-pointer pointers in custom allocators for ↵Howard Hinnant
string. This completes the custom pointer support for the entire library. llvm-svn: 185167
2013-03-23This is a start at making the libc++ test suite friendlier to the ↵Howard Hinnant
-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
2013-02-05[tests] Mark some string.conversions expected failures (with system libc++).Daniel Dunbar
llvm-svn: 174451
2013-02-05[tests] XFAIL a few things that require libc (?) support missing on Darwin.Daniel Dunbar
llvm-svn: 174450
2013-01-14Fix string conversions functions to throw out_of_range properly. Fixes ↵Howard Hinnant
http://llvm.org/bugs/show_bug.cgi?id=14919. llvm-svn: 172447
2012-12-31Klaas de Vries: Fix bug in libc++'s std::string::find_first_not_of.Howard Hinnant
llvm-svn: 171321
2011-10-09Fix <rdar://problem/10256836> getline of an empty string mistakenly causes ↵Howard Hinnant
failure llvm-svn: 141506
2011-08-12Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574Howard Hinnant
llvm-svn: 137522
2011-07-15Fix wchar tests by not assuming that tm is complete and by using theAlexis Hunt
proper va_list time on non-darwin platforms. llvm-svn: 135247
2011-06-03Bring noexcept for <string> inline with other containers.Howard Hinnant
llvm-svn: 132573
2010-12-08test: Rename string_op+= to string_op_plus_equal. Windows git doesn't like it.Michael J. Spencer
llvm-svn: 121265
2010-11-17LWG 1323Howard Hinnant
llvm-svn: 119560
2010-11-16license changeHoward Hinnant
llvm-svn: 119395
2010-09-28fixing whitespaceHoward Hinnant
llvm-svn: 114967
2010-09-04Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant
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
2010-08-22Fixing whitespace problemsHoward Hinnant
llvm-svn: 111764
2010-08-10Fix conflict with cstring and using namespace stdHoward Hinnant
llvm-svn: 110736
2010-06-02[string.conversions]Howard Hinnant
llvm-svn: 105336
2010-05-16Replaced :: with _ in several path namesHoward Hinnant
llvm-svn: 103907
2010-05-16Replaced :: with _ in several path namesHoward Hinnant
llvm-svn: 103906
2010-05-11Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant
llvm-svn: 103516
2010-05-11libcxx initial importHoward Hinnant
llvm-svn: 103490