xref: /aosp_15_r20/external/cronet/third_party/libc++/src/modules/std/exception.cppm (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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
10module;
11#include <exception>
12export module std:exception;
13export namespace std {
14  using std::bad_exception;
15  using std::current_exception;
16  using std::exception;
17  using std::exception_ptr;
18  using std::get_terminate;
19  using std::make_exception_ptr;
20  using std::nested_exception;
21  using std::rethrow_exception;
22  using std::rethrow_if_nested;
23  using std::set_terminate;
24  using std::terminate;
25  using std::terminate_handler;
26  using std::throw_with_nested;
27  using std::uncaught_exception;
28  using std::uncaught_exceptions;
29} // namespace std
30