cosmopolitan/third_party/libcxxabi/stdlib_exception.cc

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

71 lines
1.1 KiB
C++
Raw Normal View History

2024-01-08 16:45:10 +00:00
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "third_party/libcxx/new"
#include "third_party/libcxx/exception"
namespace std
{
// exception
exception::~exception() noexcept
{
}
const char* exception::what() const noexcept
{
return "std::exception";
}
// bad_exception
bad_exception::~bad_exception() noexcept
{
}
const char* bad_exception::what() const noexcept
{
return "std::bad_exception";
}
// bad_alloc
bad_alloc::bad_alloc() noexcept
{
}
bad_alloc::~bad_alloc() noexcept
{
}
const char*
bad_alloc::what() const noexcept
{
return "std::bad_alloc";
}
// bad_array_new_length
bad_array_new_length::bad_array_new_length() noexcept
{
}
bad_array_new_length::~bad_array_new_length() noexcept
{
}
const char*
bad_array_new_length::what() const noexcept
{
return "bad_array_new_length";
}
} // std