[libc++/abi] Replace uses of _NOEXCEPT in src/ by noexcept
We always build the libraries in a Standard mode that supports noexcept,
so there's no need to use the _NOEXCEPT macro.
Differential Revision: https://reviews.llvm.org/D97700
GitOrigin-RevId: 5601305fb30bf585c397e62d2d3a8a712e47d70b
diff --git a/src/functional.cpp b/src/functional.cpp
index 555d2c5..cc5f43a 100644
--- a/src/functional.cpp
+++ b/src/functional.cpp
@@ -11,12 +11,12 @@
_LIBCPP_BEGIN_NAMESPACE_STD
#ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_KEY_FUNCTION
-bad_function_call::~bad_function_call() _NOEXCEPT
+bad_function_call::~bad_function_call() noexcept
{
}
const char*
-bad_function_call::what() const _NOEXCEPT
+bad_function_call::what() const noexcept
{
return "std::bad_function_call";
}