blob: 0ebffdedba947a8484aac191e6ffddb0d02bc235 [file] [log] [blame]
Eric Fiselierd22c9dc2017-02-10 08:57:35 +00001// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
Chandler Carruth57b08b02019-01-19 10:56:40 +00004// 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-exception
Eric Fiselierd22c9dc2017-02-10 08:57:35 +00007//
8//===----------------------------------------------------------------------===//
9
10#ifndef LIBCXXRT
11#error this header may only be used when targeting libcxxrt
12#endif
13
14namespace std {
15
16bad_exception::~bad_exception() _NOEXCEPT
17{
18}
19
20const char* bad_exception::what() const _NOEXCEPT
21{
22 return "std::bad_exception";
23}
24
Eric Fiselierd22c9dc2017-02-10 08:57:35 +000025} // namespace std