xref: /openbsd-src/gnu/llvm/libcxx/src/support/runtime/exception_libcxxrt.ipp (revision 76d0caaeb19ae0808d90af1d0b3b7b50b3e5383f)
146035553Spatrick// -*- C++ -*-
246035553Spatrick//===----------------------------------------------------------------------===//
346035553Spatrick//
446035553Spatrick// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
546035553Spatrick// See https://llvm.org/LICENSE.txt for license information.
646035553Spatrick// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
746035553Spatrick//
846035553Spatrick//===----------------------------------------------------------------------===//
946035553Spatrick
1046035553Spatrick#ifndef LIBCXXRT
1146035553Spatrick#error this header may only be used when targeting libcxxrt
1246035553Spatrick#endif
1346035553Spatrick
1446035553Spatricknamespace std {
1546035553Spatrick
16*76d0caaeSpatrickbad_exception::~bad_exception() noexcept
1746035553Spatrick{
1846035553Spatrick}
1946035553Spatrick
20*76d0caaeSpatrickconst char* bad_exception::what() const noexcept
2146035553Spatrick{
2246035553Spatrick  return "std::bad_exception";
2346035553Spatrick}
2446035553Spatrick
2546035553Spatrick} // namespace std
26