Home
last modified time | relevance | path

Searched refs:get_unexpected (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/libcxx/test/libcxx/depr/exception.unexpected/
H A Dget_unexpected.pass.cpp30 std::unexpected_handler old = std::get_unexpected(); in main()
34 assert(std::get_unexpected() == f1); in main()
37 assert(std::get_unexpected() == f2); in main()
H A Dunexpected_disabled_cpp17.fail.cpp20 std::get_unexpected(); // expected-error {{no member named 'get_unexpected' in namespace 'std'}} in main()
/llvm-project-15.0.7/libcxx/test/std/depr/exception.unexpected/set.unexpected/
H A Dget_unexpected.pass.cpp30 std::unexpected_handler old = std::get_unexpected(); in main()
34 assert(std::get_unexpected() == f1); in main()
37 assert(std::get_unexpected() == f2); in main()
/llvm-project-15.0.7/libcxxabi/src/
H A Dcxa_handlers.cpp26 get_unexpected() noexcept in get_unexpected() function
43 __unexpected(get_unexpected()); in unexpected()
H A Dcxa_exception.cpp261 exception_header->unexpectedHandler = std::get_unexpected(); in __cxa_throw()
745 dep_exception_header->unexpectedHandler = std::get_unexpected(); in __cxa_rethrow_primary_exception()
H A Dcxa_personality.cpp1200 u_handler = std::get_unexpected(); in __cxa_call_unexpected()
/llvm-project-15.0.7/libcxx/src/support/runtime/
H A Dexception_fallback.ipp25 get_unexpected() noexcept
33 (*get_unexpected())();
H A Dexception_msvc.ipp38 unexpected_handler get_unexpected() noexcept {
44 (*get_unexpected())();
/llvm-project-15.0.7/libcxx/include/
H A Dexception42 unexpected_handler get_unexpected() noexcept;
125 _LIBCPP_FUNC_VIS unexpected_handler get_unexpected() _NOEXCEPT;
/llvm-project-15.0.7/libcxx/docs/
H A DUsingLibcxx.rst292 This macro is used to re-enable `set_unexpected`, `get_unexpected`, and