From: Marshall Clow Date: Sat, 14 Jul 2018 03:06:11 +0000 (+0000) Subject: Mark one more __wrap_iter operation as constexpr. X-Git-Tag: llvmorg-7.0.0-rc1~1439 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ce0a916f0120aa14598148b3e0badfc55905718;p=platform%2Fupstream%2Fllvm.git Mark one more __wrap_iter operation as constexpr. llvm-svn: 337085 --- diff --git a/libcxx/include/iterator b/libcxx/include/iterator index 66592b8..9415e0b8 100644 --- a/libcxx/include/iterator +++ b/libcxx/include/iterator @@ -1374,7 +1374,8 @@ public: } _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter operator++(int) _NOEXCEPT_DEBUG {__wrap_iter __tmp(*this); ++(*this); return __tmp;} - _LIBCPP_INLINE_VISIBILITY __wrap_iter& operator--() _NOEXCEPT_DEBUG + + _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_IF_NODEBUG __wrap_iter& operator--() _NOEXCEPT_DEBUG { #if _LIBCPP_DEBUG_LEVEL >= 2 _LIBCPP_ASSERT(__get_const_db()->__decrementable(this),