Make attributes on definition consistent with those on declaration.
llvm-svn: 149701
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 23e4e4587f56e357e2c9cafebaccb48da21effa7
diff --git a/src/exception.cpp b/src/exception.cpp
index 40327d6..ac3a241 100644
--- a/src/exception.cpp
+++ b/src/exception.cpp
@@ -201,6 +201,7 @@
#endif // __APPLE__
}
+_ATTRIBUTE(noreturn)
void std::rethrow_exception(exception_ptr p)
{
#if HAVE_DEPENDENT_EH_ABI