From 92b69215e63a3303a5e904ab332e2eec236e0ed2 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 16 Aug 2021 23:30:18 -0700 Subject: update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 --- lib/libcxx/src/ios.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/libcxx/src/ios.cpp') diff --git a/lib/libcxx/src/ios.cpp b/lib/libcxx/src/ios.cpp index 3a92964657..a8a99015a9 100644 --- a/lib/libcxx/src/ios.cpp +++ b/lib/libcxx/src/ios.cpp @@ -27,12 +27,12 @@ class _LIBCPP_HIDDEN __iostream_category : public __do_message { public: - virtual const char* name() const _NOEXCEPT; + virtual const char* name() const noexcept; virtual string message(int ev) const; }; const char* -__iostream_category::name() const _NOEXCEPT +__iostream_category::name() const noexcept { return "iostream"; } @@ -43,14 +43,14 @@ __iostream_category::message(int ev) const if (ev != static_cast(io_errc::stream) #ifdef _LIBCPP_ELAST && ev <= _LIBCPP_ELAST -#endif // _LIBCPP_ELAST +#endif // _LIBCPP_ELAST ) return __do_message::message(ev); return string("unspecified iostream_category error"); } const error_category& -iostream_category() _NOEXCEPT +iostream_category() noexcept { static __iostream_category s; return s; @@ -387,7 +387,7 @@ ios_base::move(ios_base& rhs) } void -ios_base::swap(ios_base& rhs) _NOEXCEPT +ios_base::swap(ios_base& rhs) noexcept { _VSTD::swap(__fmtflags_, rhs.__fmtflags_); _VSTD::swap(__precision_, rhs.__precision_); @@ -416,7 +416,7 @@ ios_base::__set_badbit_and_consider_rethrow() #ifndef _LIBCPP_NO_EXCEPTIONS if (__exceptions_ & badbit) throw; -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } void @@ -426,7 +426,7 @@ ios_base::__set_failbit_and_consider_rethrow() #ifndef _LIBCPP_NO_EXCEPTIONS if (__exceptions_ & failbit) throw; -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } bool -- cgit v1.2.3