1*4bdff4beSrobert //===----------------------------------------------------------------------===// 246035553Spatrick // 346035553Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 446035553Spatrick // See https://llvm.org/LICENSE.txt for license information. 546035553Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 646035553Spatrick // 746035553Spatrick //===----------------------------------------------------------------------===// 846035553Spatrick 9*4bdff4beSrobert #include <functional> 1046035553Spatrick 1146035553Spatrick _LIBCPP_BEGIN_NAMESPACE_STD 1246035553Spatrick 1346035553Spatrick #ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_KEY_FUNCTION ~bad_function_call()1476d0caaeSpatrickbad_function_call::~bad_function_call() noexcept 1546035553Spatrick { 1646035553Spatrick } 17*4bdff4beSrobert #endif 1846035553Spatrick 19*4bdff4beSrobert #ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_GOOD_WHAT_MESSAGE 2046035553Spatrick const char* what() const2176d0caaeSpatrickbad_function_call::what() const noexcept 2246035553Spatrick { 2346035553Spatrick return "std::bad_function_call"; 2446035553Spatrick } 2546035553Spatrick #endif 2646035553Spatrick 2746035553Spatrick _LIBCPP_END_NAMESPACE_STD 28