[libc++][test] Replace a TEST_NOEXCEPT_FALSE with noexcept(false). NFC.
authorJoe Loser <joeloser93@gmail.com>
Sun, 10 Oct 2021 18:46:35 +0000 (14:46 -0400)
committerJoe Loser <joeloser93@gmail.com>
Sun, 10 Oct 2021 18:46:35 +0000 (14:46 -0400)
commit65d62e52a78940b2c332b32429fffe557860e8ed
treefb8afadb84c3b6c3622cc5372a8645c36942479f
parente53c9251fa56ff788be3aad8fc4947d6014ea12c
[libc++][test] Replace a TEST_NOEXCEPT_FALSE with noexcept(false). NFC.

Replace `TEST_NOEXCEPT_FALSE` directly with `noexcept(false)` in
optional hash test which is only run in C++17 or later.
`TEST_NOEXCEPT_FALSE` is only useful in C++03 context where `noexcept`
isn't supported by clang. `TEST_NOEXCEPT_FALSE` now only has one remaining use
in `hash_unique_ptr.pass.cpp`.
libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp