From 23e4e4587f56e357e2c9cafebaccb48da21effa7 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Fri, 3 Feb 2012 18:31:43 +0000 Subject: Make attributes on definition consistent with those on declaration. llvm-svn: 149701 --- libcxx/src/exception.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libcxx/src') diff --git a/libcxx/src/exception.cpp b/libcxx/src/exception.cpp index 40327d6a07d..ac3a24165e7 100644 --- a/libcxx/src/exception.cpp +++ b/libcxx/src/exception.cpp @@ -201,6 +201,7 @@ std::exception_ptr std::current_exception() _NOEXCEPT #endif // __APPLE__ } +_ATTRIBUTE(noreturn) void std::rethrow_exception(exception_ptr p) { #if HAVE_DEPENDENT_EH_ABI -- cgit v1.2.3