mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-14 14:56:47 +00:00
Propagate the removal of _LIBCPP_CANTTHROW (r189046) to libcxxabi. This fixes http://llvm.org/bugs/show_bug.cgi?id=16996.
llvm-svn: 189194
This commit is contained in:
parent
e8025644b2
commit
59a5a956f5
@ -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_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user