summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2019-09-23 04:16:48 +0000
committerMarshall Clow <mclow.lists@gmail.com>2019-09-23 04:16:48 +0000
commitd8ac51ab8fde3dbf7d55e5940584019330991dd7 (patch)
tree31b44405a07675d2ba7605ebaf270edec153e82d /libcxx/include
parent457226e02a6e8533eaaa864a3fd7c8eeccd2bf58 (diff)
downloadbcm5719-llvm-d8ac51ab8fde3dbf7d55e5940584019330991dd7.tar.gz
bcm5719-llvm-d8ac51ab8fde3dbf7d55e5940584019330991dd7.zip
Extension: Mark the default constructor of chrono::duration as conditionally noexcept
llvm-svn: 372539
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/chrono2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/chrono b/libcxx/include/chrono
index 0e4cf9aef3a..a3d1e1a1187 100644
--- a/libcxx/include/chrono
+++ b/libcxx/include/chrono
@@ -1063,7 +1063,7 @@ public:
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
#ifndef _LIBCPP_CXX03_LANG
- duration() = default;
+ duration() noexcept(noexcept(_Rep())) = default;
#else
duration() {}
#endif
OpenPOWER on IntegriCloud