xref: /freebsd/contrib/llvm-project/libcxx/src/support/runtime/exception_glibcxx.ipp (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
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
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef __GLIBCXX__
11#error header can only be used when targeting libstdc++ or libsupc++
12#endif
13
14namespace std {
15
16bad_alloc::bad_alloc() _NOEXCEPT
17{
18}
19
20bad_array_new_length::bad_array_new_length() _NOEXCEPT
21{
22}
23
24bad_cast::bad_cast() _NOEXCEPT
25{
26}
27
28bad_typeid::bad_typeid() _NOEXCEPT
29{
30}
31
32} // namespace std
33