1349cc55cSDimitry Andric //===----------------------------------------------------------------------===// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric 981ad6265SDimitry Andric #include <functional> 100b57cec5SDimitry Andric 110b57cec5SDimitry Andric _LIBCPP_BEGIN_NAMESPACE_STD 120b57cec5SDimitry Andric ~bad_function_call()13*cb14a3feSDimitry Andricbad_function_call::~bad_function_call() noexcept {} 140b57cec5SDimitry Andric 15349cc55cSDimitry Andric #ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_GOOD_WHAT_MESSAGE what() const16*cb14a3feSDimitry Andricconst char* bad_function_call::what() const noexcept { return "std::bad_function_call"; } 170b57cec5SDimitry Andric #endif 180b57cec5SDimitry Andric 190b57cec5SDimitry Andric _LIBCPP_END_NAMESPACE_STD 20