aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/ios.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcxx/src/ios.cpp')
-rw-r--r--lib/libcxx/src/ios.cpp14
1 files changed, 7 insertions, 7 deletions
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<int>(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