Remove 'noreturn' attribute from friend declaration. This attribute will be
inherited from the previous out-of-class declaration, and attributes on friend
function declarations are ill-formed in C++11.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@168853 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/exception b/include/exception
index 5b75fb0..51a48c8 100644
--- a/include/exception
+++ b/include/exception
@@ -143,7 +143,7 @@
{return !(__x == __y);}
friend exception_ptr current_exception() _NOEXCEPT;
- _LIBCPP_NORETURN friend void rethrow_exception(exception_ptr);
+ friend void rethrow_exception(exception_ptr);
};
template<class _Ep>