summaryrefslogtreecommitdiffstats
path: root/libcxx/src/typeinfo.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-05-26 18:23:59 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-05-26 18:23:59 +0000
commitfafca58c58453d8fcfc694d207738b0aa1215651 (patch)
tree1d8bb9409880f8b04edc602129b924fd9e989be8 /libcxx/src/typeinfo.cpp
parent33a73c77554f812691cf33cf0fa68bb5b015c3e5 (diff)
downloadbcm5719-llvm-fafca58c58453d8fcfc694d207738b0aa1215651.tar.gz
bcm5719-llvm-fafca58c58453d8fcfc694d207738b0aa1215651.zip
Applied noexcept to everything in [language.support] (Chapter 18)
llvm-svn: 132129
Diffstat (limited to 'libcxx/src/typeinfo.cpp')
-rw-r--r--libcxx/src/typeinfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/src/typeinfo.cpp b/libcxx/src/typeinfo.cpp
index 2dca96fd4bb..9ca03a183e9 100644
--- a/libcxx/src/typeinfo.cpp
+++ b/libcxx/src/typeinfo.cpp
@@ -13,30 +13,30 @@
#include "typeinfo"
-std::bad_cast::bad_cast() throw()
+std::bad_cast::bad_cast() _NOEXCEPT
{
}
-std::bad_cast::~bad_cast() throw()
+std::bad_cast::~bad_cast() _NOEXCEPT
{
}
const char*
-std::bad_cast::what() const throw()
+std::bad_cast::what() const _NOEXCEPT
{
return "std::bad_cast";
}
-std::bad_typeid::bad_typeid() throw()
+std::bad_typeid::bad_typeid() _NOEXCEPT
{
}
-std::bad_typeid::~bad_typeid() throw()
+std::bad_typeid::~bad_typeid() _NOEXCEPT
{
}
const char*
-std::bad_typeid::what() const throw()
+std::bad_typeid::what() const _NOEXCEPT
{
return "std::bad_typeid";
}
OpenPOWER on IntegriCloud