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 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::terminate; 22 using std::terminate_handler; 23 using std::throw_with_nested; 24#ifdef _LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION 25 using std::uncaught_exception; 26#endif 27 using std::uncaught_exceptions; 28} // namespace std 29