llvm-project/libcxx/test/std/strings/basic.string
Eric Fiselier 9491643c4b Fix test failure on compilers w/o deduction guides
llvm-svn: 325205
2018-02-15 02:41:19 +00:00
..
string.access Change (void) casts to TEST_IGNORE_NODISCARD, as requested by Eric. Reviewed as https://reviews.llvm.org/D40065 2017-11-21 21:37:26 +00:00
string.capacity More of P0600 - '[[nodiscard]] in the Library' mark empty() as nodiscard in string, string_view, and the free function std::empty(). Removed tabs from <string_view>, which is why the diff is so big. 2017-11-15 20:02:27 +00:00
string.cons Fix test failure on compilers w/o deduction guides 2018-02-15 02:41:19 +00:00
string.ends_with [libcxx] [test] Strip trailing whitespace. NFC. 2017-12-07 00:50:23 +00:00
string.iterators [libcxx] [test] D27022: Fix MSVC warning C4389 "signed/unsigned mismatch", part 9/12. 2016-12-06 01:13:14 +00:00
string.modifiers Fix PR#31454 - 'basic_string<T>::push_back() crashes if sizeof(T)>sizeof(long long)'. We were mishandling the small-string optimization calculations for very large 'characters'. This may be an ABI change (change the size of) strings of very large 'characters', but since they never worked, I'm not too concerned. 2018-02-07 21:30:17 +00:00
string.nonmembers [libcxx] [test] Change comments to say C++ instead of c++. NFC. 2017-07-29 00:55:35 +00:00
string.ops Change (void) casts to TEST_IGNORE_NODISCARD, as requested by Eric. Reviewed as https://reviews.llvm.org/D40065 2017-11-21 21:37:26 +00:00
string.require [libcxx] [test] Fix MSVC x64 truncation warnings with 32-bit allocator size_type/difference_type. 2016-12-14 22:46:46 +00:00
string.starts_with [libcxx] [test] Strip trailing whitespace. NFC. 2017-12-07 00:50:23 +00:00
allocator_mismatch.fail.cpp Add static_assert to set/multiset/map/multimap/forward_list/deque that the allocator's value_type match the container's value_type. vector/unordered/list/string already do this. Add tests for all the containers to verify this. 2015-11-26 01:24:04 +00:00
input_iterator.h
test_traits.h
traits_mismatch.fail.cpp Implement LWG#2761: 'basic_string should require that charT match traits::char_type'. Tests for string_view, too 2017-03-15 18:41:11 +00:00
types.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00