diff options
| author | Billy Robert O'Neal III <bion@microsoft.com> | 2017-04-18 00:19:50 +0000 | 
|---|---|---|
| committer | Billy Robert O'Neal III <bion@microsoft.com> | 2017-04-18 00:19:50 +0000 | 
| commit | e52a34bd9d227934bbfb2cd8e56feeed8cf3e658 (patch) | |
| tree | 34a8b73744888452734461d3baadd3ec65ec77b4 /libcxx/test/std/utilities/optional/optional.object/optional.object.dtor | |
| parent | 1d2ae94b5dbd0ec575b28744a5c34d3a5c133568 (diff) | |
| download | bcm5719-llvm-e52a34bd9d227934bbfb2cd8e56feeed8cf3e658.tar.gz bcm5719-llvm-e52a34bd9d227934bbfb2cd8e56feeed8cf3e658.zip  | |
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
Diffstat (limited to 'libcxx/test/std/utilities/optional/optional.object/optional.object.dtor')
0 files changed, 0 insertions, 0 deletions

