projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17172c6
)
Mark one more __wrap_iter operation as constexpr.
author
Marshall Clow
<mclow.lists@gmail.com>
Sat, 14 Jul 2018 03:06:11 +0000
(
03:06
+0000)
committer
Marshall Clow
<mclow.lists@gmail.com>
Sat, 14 Jul 2018 03:06:11 +0000
(
03:06
+0000)
llvm-svn: 337085
libcxx/include/iterator
patch
|
blob
|
history
diff --git
a/libcxx/include/iterator
b/libcxx/include/iterator
index
66592b8
..
9415e0b
100644
(file)
--- 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),