diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-08-25 17:00:57 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-08-25 17:00:57 +0000 |
commit | 59a5a956f52400da641b782e6842480dace87766 (patch) | |
tree | 6e9abc7fe95263e67a6ec77b97dff594a059d0e9 /libcxxabi | |
parent | e8025644b27922e7c31ebe851794bef71ecefd23 (diff) | |
download | bcm5719-llvm-59a5a956f52400da641b782e6842480dace87766.tar.gz bcm5719-llvm-59a5a956f52400da641b782e6842480dace87766.zip |
Propagate the removal of _LIBCPP_CANTTHROW (r189046) to libcxxabi. This fixes http://llvm.org/bugs/show_bug.cgi?id=16996.
llvm-svn: 189194
Diffstat (limited to 'libcxxabi')
-rw-r--r-- | libcxxabi/src/stdexcept.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxxabi/src/stdexcept.cpp b/libcxxabi/src/stdexcept.cpp index 48140b35faf..076f474303b 100644 --- a/libcxxabi/src/stdexcept.cpp +++ b/libcxxabi/src/stdexcept.cpp @@ -66,9 +66,9 @@ private: public: explicit __libcpp_nmstr(const char* msg); - __libcpp_nmstr(const __libcpp_nmstr& s) _LIBCPP_CANTTHROW; - __libcpp_nmstr& operator=(const __libcpp_nmstr& s) _LIBCPP_CANTTHROW; - ~__libcpp_nmstr() _LIBCPP_CANTTHROW; + __libcpp_nmstr(const __libcpp_nmstr& s) _NOEXCEPT; + __libcpp_nmstr& operator=(const __libcpp_nmstr& s) _NOEXCEPT; + ~__libcpp_nmstr(); const char* c_str() const _NOEXCEPT {return str_;} }; @@ -84,7 +84,7 @@ __libcpp_nmstr::__libcpp_nmstr(const char* msg) } inline -__libcpp_nmstr::__libcpp_nmstr(const __libcpp_nmstr& s) +__libcpp_nmstr::__libcpp_nmstr(const __libcpp_nmstr& s) _NOEXCEPT : str_(s.str_) { #if __APPLE__ @@ -94,7 +94,7 @@ __libcpp_nmstr::__libcpp_nmstr(const __libcpp_nmstr& s) } __libcpp_nmstr& -__libcpp_nmstr::operator=(const __libcpp_nmstr& s) +__libcpp_nmstr::operator=(const __libcpp_nmstr& s) _NOEXCEPT { const char* p = str_; str_ = s.str_; |