llvm-project/libcxx/test/std/strings/string.view
Marshall Clow 7d661bb248 Fix the definitions of 'reference' and 'pointer' in string_view that no one uses :-). Thanks to K-ballo for the catch.
llvm-svn: 321188
2017-12-20 16:31:40 +00:00
..
string.view.access Tolerate [[nodiscard]] annotations in the STL. Reviewed as https://reviews.llvm.org/D39033 2017-11-15 07:40:37 +00:00
string.view.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.view.comparison [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER. 2016-11-04 20:26:59 +00:00
string.view.cons Mark string_view's constructor from (ptr,len) as noexcept (an extension). Update the tests to check this (and other noexcept bits 2017-10-24 16:30:06 +00:00
string.view.find [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER. 2016-11-04 20:26:59 +00:00
string.view.hash Implement P0599: 'noexcept for hash functions'. Fix a couple of hash functions (optional<T> and unique_ptr<T>) which were mistakenly marked as 'noexcept'. Reviewed as https://reviews.llvm.org/D31234 2017-03-23 02:40:28 +00:00
string.view.io
string.view.iterators A couple more tests for constexpr stuff in string_view. No changes other than test code. 2017-01-24 16:28:02 +00:00
string.view.modifiers Remove non-standard basic_string_view::clear() member. 2017-05-12 03:35:53 +00:00
string.view.nonmem [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER. 2016-11-04 20:26:59 +00:00
string.view.ops [libcxx] [test] Fix string_view tests. 2016-12-09 22:35:53 +00:00
string.view.synop
string.view.template Implement P0457R2: 'String Prefix and Suffix Checking' for c++2a 2017-12-04 20:11:38 +00:00
string_view.literals Mark string_view literals as 'noexcept'. Fixes PR#25054. Thanks to Pavel K for the bug report. 2017-10-24 14:06:00 +00:00
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 Fix the definitions of 'reference' and 'pointer' in string_view that no one uses :-). Thanks to K-ballo for the catch. 2017-12-20 16:31:40 +00:00