From 53008d8b0c4e3f008c78ce75b735a532c0724005 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 29 Nov 2012 04:30:50 +0000 Subject: [PATCH] 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 --- include/exception | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/exception b/include/exception index 5b75fb04b..51a48c828 100644 --- a/include/exception +++ b/include/exception @@ -143,7 +143,7 @@ public: {return !(__x == __y);} friend exception_ptr current_exception() _NOEXCEPT; - _LIBCPP_NORETURN friend void rethrow_exception(exception_ptr); + friend void rethrow_exception(exception_ptr); }; template