2 //===----------------------------------------------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
16 exception_ptr::~exception_ptr() _NOEXCEPT
18 # warning exception_ptr not yet implemented
19 fprintf(stderr, "exception_ptr not yet implemented\n");
23 exception_ptr::exception_ptr(const exception_ptr& other) _NOEXCEPT
24 : __ptr_(other.__ptr_)
26 # warning exception_ptr not yet implemented
27 fprintf(stderr, "exception_ptr not yet implemented\n");
31 exception_ptr& exception_ptr::operator=(const exception_ptr& other) _NOEXCEPT
33 # warning exception_ptr not yet implemented
34 fprintf(stderr, "exception_ptr not yet implemented\n");
38 nested_exception::nested_exception() _NOEXCEPT
39 : __ptr_(current_exception())
43 #if !defined(__GLIBCXX__)
45 nested_exception::~nested_exception() _NOEXCEPT
53 nested_exception::rethrow_nested() const
55 # warning exception_ptr not yet implemented
56 fprintf(stderr, "exception_ptr not yet implemented\n");
59 if (__ptr_ == nullptr)
61 rethrow_exception(__ptr_);
65 exception_ptr current_exception() _NOEXCEPT
67 # warning exception_ptr not yet implemented
68 fprintf(stderr, "exception_ptr not yet implemented\n");
73 void rethrow_exception(exception_ptr p)
75 # warning exception_ptr not yet implemented
76 fprintf(stderr, "exception_ptr not yet implemented\n");