xref: /freebsd/contrib/llvm-project/libcxx/src/support/runtime/exception_glibcxx.ipp (revision cb14a3fe5122c879eae1fb480ed7ce82a699ddb6)
10b57cec5SDimitry Andric// -*- C++ -*-
20b57cec5SDimitry Andric//===----------------------------------------------------------------------===//
30b57cec5SDimitry Andric//
40b57cec5SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
50b57cec5SDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
60b57cec5SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
70b57cec5SDimitry Andric//
80b57cec5SDimitry Andric//===----------------------------------------------------------------------===//
90b57cec5SDimitry Andric
100b57cec5SDimitry Andric#ifndef __GLIBCXX__
110b57cec5SDimitry Andric#  error header can only be used when targeting libstdc++ or libsupc++
120b57cec5SDimitry Andric#endif
130b57cec5SDimitry Andric
140b57cec5SDimitry Andricnamespace std {
150b57cec5SDimitry Andric
16*cb14a3feSDimitry Andricbad_alloc::bad_alloc() noexcept {}
170b57cec5SDimitry Andric
18*cb14a3feSDimitry Andricbad_array_new_length::bad_array_new_length() noexcept {}
190b57cec5SDimitry Andric
20*cb14a3feSDimitry Andricbad_cast::bad_cast() noexcept {}
210b57cec5SDimitry Andric
22*cb14a3feSDimitry Andricbad_typeid::bad_typeid() noexcept {}
230b57cec5SDimitry Andric
240b57cec5SDimitry Andric} // namespace std
25