summaryrefslogtreecommitdiffstats
path: root/libcxx/include/exception
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-11-29 04:30:50 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-11-29 04:30:50 +0000
commite1f363c7249c912c140ba86ce7f8f72e5c9ece8d (patch)
tree959e8251ef440f7fb3ce031530128333f95fed61 /libcxx/include/exception
parentbdb55e0c59f4a1d168aebd826aa90647db8cc20d (diff)
downloadbcm5719-llvm-e1f363c7249c912c140ba86ce7f8f72e5c9ece8d.tar.gz
bcm5719-llvm-e1f363c7249c912c140ba86ce7f8f72e5c9ece8d.zip
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. llvm-svn: 168853
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r--libcxx/include/exception2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception
index 5b75fb04bbb..51a48c8286d 100644
--- a/libcxx/include/exception
+++ b/libcxx/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<class _Ep>
OpenPOWER on IntegriCloud