10b57cec5SDimitry Andric// -*- C++ -*- 20b57cec5SDimitry Andric//===----------------------------------------------------------------------===// 30b57cec5SDimitry Andric// 40b57cec5SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 50b57cec5SDimitry Andric// See https://llvm.org/LICENSE.txt for license information. 60b57cec5SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 70b57cec5SDimitry Andric// 80b57cec5SDimitry Andric//===----------------------------------------------------------------------===// 90b57cec5SDimitry Andric 100b57cec5SDimitry Andric#ifndef LIBCXXRT 110b57cec5SDimitry Andric# error this header may only be used when targeting libcxxrt 120b57cec5SDimitry Andric#endif 130b57cec5SDimitry Andric 140b57cec5SDimitry Andricnamespace std { 150b57cec5SDimitry Andric 16*cb14a3feSDimitry Andricbad_exception::~bad_exception() noexcept {} 170b57cec5SDimitry Andric 18*cb14a3feSDimitry Andricconst char* bad_exception::what() const noexcept { return "std::bad_exception"; } 190b57cec5SDimitry Andric 200b57cec5SDimitry Andric} // namespace std 21