1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 exception::~exception() noexcept
21 const char* exception::what() const noexcept
23 return "std::exception";
28 bad_exception::~bad_exception() noexcept
32 const char* bad_exception::what() const noexcept
34 return "std::bad_exception";
40 bad_alloc::bad_alloc() noexcept
44 bad_alloc::~bad_alloc() noexcept
49 bad_alloc::what() const noexcept
51 return "std::bad_alloc";
54 // bad_array_new_length
56 bad_array_new_length::bad_array_new_length() noexcept
60 bad_array_new_length::~bad_array_new_length() noexcept
65 bad_array_new_length::what() const noexcept
67 return "bad_array_new_length";