Eric Fiselier | d22c9dc | 2017-02-10 08:57:35 +0000 | [diff] [blame] | 1 | // -*- C++ -*- |
| 2 | //===----------------------------------------------------------------------===// |
| 3 | // |
Chandler Carruth | 57b08b0 | 2019-01-19 10:56:40 +0000 | [diff] [blame] | 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-exception |
Eric Fiselier | d22c9dc | 2017-02-10 08:57:35 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef __GLIBCXX__ |
| 11 | #error header can only be used when targeting libstdc++ or libsupc++ |
| 12 | #endif |
| 13 | |
| 14 | namespace std { |
| 15 | |
| 16 | bad_alloc::bad_alloc() _NOEXCEPT |
| 17 | { |
| 18 | } |
| 19 | |
| 20 | bad_array_new_length::bad_array_new_length() _NOEXCEPT |
| 21 | { |
| 22 | } |
| 23 | |
Eric Fiselier | d22c9dc | 2017-02-10 08:57:35 +0000 | [diff] [blame] | 24 | bad_cast::bad_cast() _NOEXCEPT |
| 25 | { |
| 26 | } |
| 27 | |
| 28 | bad_typeid::bad_typeid() _NOEXCEPT |
| 29 | { |
| 30 | } |
| 31 | |
Eric Fiselier | e054693 | 2017-03-08 20:06:01 +0000 | [diff] [blame] | 32 | } // namespace std |