llvm-project/libcxx/test/std
Billy Robert O'Neal III e52a34bd9d Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions.
These tests were unconditionally asserting that optional and unique_ptr declare throwing hashes, but MSVC++ implements conditional noexcept forwarding that of the underlying hash function. As a result we were failing these tests but there's nothing forbidding strengthening noexcept in that way.

Changed the ASSERT_NOT_NOEXCEPT asserts to use types which themselves have non-noexcept hash functions.

llvm-svn: 300516
2017-04-18 00:19:50 +00:00
..
algorithms Update the algorithm tests to not use the (deprecated) function binders. No functional change. 2017-03-23 16:13:50 +00:00
atomics [libcxx] [test] D27027: Strip trailing whitespace. 2016-11-23 22:03:28 +00:00
containers Sigh. Once again forgot about the 'no exceptions' bots. 2017-04-17 14:18:44 +00:00
depr Remove the binders from C++17. Reviewed as https://reviews.llvm.org/D31769 2017-04-13 18:25:32 +00:00
diagnostics 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
experimental Diagnose when reverse_iterator is used on path::iterator. 2017-04-13 02:54:13 +00:00
input.output Fix libc++ test to pass in C++03 mode 2017-03-03 17:24:29 +00:00
iterators Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES 2017-03-03 03:43:25 +00:00
language.support Implement LWG#2855 - made easy by previous refactoring 2017-04-13 16:57:42 +00:00
localization Add deployment knobs to tests (for Apple platforms) 2017-03-15 00:59:54 +00:00
numerics Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES 2017-03-03 03:43:25 +00:00
re Some of Eric's buildbots don't like this test. Disable it while I figure out why. 2017-04-06 18:54:37 +00:00
strings Fix PR32642 - string::insert and string::append don't work with move_iterator. 2017-04-15 06:49:02 +00:00
thread Fix most failures caused by r300140 2017-04-13 00:34:24 +00:00
utilities Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions. 2017-04-18 00:19:50 +00:00
nothing_to_do.pass.cpp