23 lines · plain
1// -*- C++ -*-2//===----------------------------------------------------------------------===//3//4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef LIBCXXRT11# error this header may only be used when targeting libcxxrt12#endif13 14#include <exception>15 16namespace std {17 18bad_exception::~bad_exception() noexcept {}19 20const char* bad_exception::what() const noexcept { return "std::bad_exception"; }21 22} // namespace std23