diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-05-26 18:23:59 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-05-26 18:23:59 +0000 |
commit | fafca58c58453d8fcfc694d207738b0aa1215651 (patch) | |
tree | 1d8bb9409880f8b04edc602129b924fd9e989be8 /libcxx/src/typeinfo.cpp | |
parent | 33a73c77554f812691cf33cf0fa68bb5b015c3e5 (diff) | |
download | bcm5719-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.cpp | 12 |
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"; } |