• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4//                     The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef LIBCXXRT
12#error this header may only be used when targeting libcxxrt
13#endif
14
15namespace std {
16
17bad_exception::~bad_exception() _NOEXCEPT
18{
19}
20
21const char* bad_exception::what() const _NOEXCEPT
22{
23  return "std::bad_exception";
24}
25
26
27bad_array_length::bad_array_length() _NOEXCEPT
28{
29}
30
31bad_array_length::~bad_array_length() _NOEXCEPT
32{
33}
34
35const char*
36bad_array_length::what() const _NOEXCEPT
37{
38    return "bad_array_length";
39}
40
41} // namespace std
42