Change a couple ifdefs from '#if __cplusplus >= 2011xxx' to '#ifndef _LIBCPP_CXX03_LANG'. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@275787 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2016-07-18 13:19:00 +00:00
parent 066feb8249
commit 3f013898d1
3 changed files with 9 additions and 9 deletions

View File

@@ -700,7 +700,7 @@ operator<=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>&
return __x.base() >= __y.base(); return __x.base() >= __y.base();
} }
#if __cplusplus >= 201103L #ifndef _LIBCPP_CXX03_LANG
template <class _Iter1, class _Iter2> template <class _Iter1, class _Iter2>
inline _LIBCPP_INLINE_VISIBILITY inline _LIBCPP_INLINE_VISIBILITY
auto auto
@@ -1117,7 +1117,7 @@ operator<=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y)
return __x.base() <= __y.base(); return __x.base() <= __y.base();
} }
#if __cplusplus >= 201103L #ifndef _LIBCPP_CXX03_LANG
template <class _Iter1, class _Iter2> template <class _Iter1, class _Iter2>
inline _LIBCPP_INLINE_VISIBILITY inline _LIBCPP_INLINE_VISIBILITY
auto auto
@@ -1186,7 +1186,7 @@ _LIBCPP_INLINE_VISIBILITY
bool bool
operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT; operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
#if __cplusplus >= 201103L #ifndef _LIBCPP_CXX03_LANG
template <class _Iter1, class _Iter2> template <class _Iter1, class _Iter2>
_LIBCPP_INLINE_VISIBILITY _LIBCPP_INLINE_VISIBILITY
auto auto
@@ -1379,7 +1379,7 @@ private:
bool bool
operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT; operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
#if __cplusplus >= 201103L #ifndef _LIBCPP_CXX03_LANG
template <class _Iter1, class _Iter2> template <class _Iter1, class _Iter2>
friend friend
auto auto
@@ -1496,7 +1496,7 @@ operator<=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEX
return !(__y < __x); return !(__y < __x);
} }
#if __cplusplus >= 201103L #ifndef _LIBCPP_CXX03_LANG
template <class _Iter1, class _Iter2> template <class _Iter1, class _Iter2>
inline _LIBCPP_INLINE_VISIBILITY inline _LIBCPP_INLINE_VISIBILITY
auto auto

View File

@@ -910,7 +910,7 @@ public:
_LIBCPP_INLINE_VISIBILITY _LIBCPP_INLINE_VISIBILITY
map& operator=(const map& __m) map& operator=(const map& __m)
{ {
#if __cplusplus >= 201103L #ifndef _LIBCPP_CXX03_LANG
__tree_ = __m.__tree_; __tree_ = __m.__tree_;
#else #else
if (this != &__m) { if (this != &__m) {
@@ -1637,7 +1637,7 @@ public:
_LIBCPP_INLINE_VISIBILITY _LIBCPP_INLINE_VISIBILITY
multimap& operator=(const multimap& __m) multimap& operator=(const multimap& __m)
{ {
#if __cplusplus >= 201103L #ifndef _LIBCPP_CXX03_LANG
__tree_ = __m.__tree_; __tree_ = __m.__tree_;
#else #else
if (this != &__m) { if (this != &__m) {

View File

@@ -865,7 +865,7 @@ public:
_LIBCPP_INLINE_VISIBILITY _LIBCPP_INLINE_VISIBILITY
unordered_map& operator=(const unordered_map& __u) unordered_map& operator=(const unordered_map& __u)
{ {
#if __cplusplus >= 201103L #ifndef _LIBCPP_CXX03_LANG
__table_ = __u.__table_; __table_ = __u.__table_;
#else #else
if (this != &__u) { if (this != &__u) {
@@ -1619,7 +1619,7 @@ public:
_LIBCPP_INLINE_VISIBILITY _LIBCPP_INLINE_VISIBILITY
unordered_multimap& operator=(const unordered_multimap& __u) unordered_multimap& operator=(const unordered_multimap& __u)
{ {
#if __cplusplus >= 201103L #ifndef _LIBCPP_CXX03_LANG
__table_ = __u.__table_; __table_ = __u.__table_;
#else #else
if (this != &__u) { if (this != &__u) {