Eric Fiselier | d22c9dc | 2017-02-10 08:57:35 +0000 | [diff] [blame] | 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 | |
| 15 | namespace std { |
| 16 | |
| 17 | bad_exception::~bad_exception() _NOEXCEPT |
| 18 | { |
| 19 | } |
| 20 | |
| 21 | const char* bad_exception::what() const _NOEXCEPT |
| 22 | { |
| 23 | return "std::bad_exception"; |
| 24 | } |
| 25 | |
| 26 | |
| 27 | bad_array_length::bad_array_length() _NOEXCEPT |
| 28 | { |
| 29 | } |
| 30 | |
| 31 | bad_array_length::~bad_array_length() _NOEXCEPT |
| 32 | { |
| 33 | } |
| 34 | |
| 35 | const char* |
| 36 | bad_array_length::what() const _NOEXCEPT |
| 37 | { |
| 38 | return "bad_array_length"; |
| 39 | } |
| 40 | |
| 41 | } // namespace std |