30 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 10export namespace std {11 using std::bad_exception;12 using std::current_exception;13 using std::exception;14 using std::exception_ptr;15 using std::get_terminate;16 using std::make_exception_ptr;17 using std::nested_exception;18 using std::rethrow_exception;19 using std::rethrow_if_nested;20 using std::set_terminate;21 using std::swap;22 using std::terminate;23 using std::terminate_handler;24 using std::throw_with_nested;25#ifdef _LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION26 using std::uncaught_exception;27#endif28 using std::uncaught_exceptions;29} // namespace std30