brintos

brintos / llvm-project-archived public Read only

0
0
Text · 723 B · 5eb8d87 Raw
28 lines · plain
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-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef __GLIBCXX__11#  error header can only be used when targeting libstdc++ or libsupc++12#endif13 14#include <exception>15#include <new>16 17namespace std {18 19bad_alloc::bad_alloc() noexcept {}20 21bad_array_new_length::bad_array_new_length() noexcept {}22 23bad_cast::bad_cast() noexcept {}24 25bad_typeid::bad_typeid() noexcept {}26 27} // namespace std28