diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2016-07-18 13:19:00 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2016-07-18 13:19:00 +0000 |
commit | 2ee837256a86f5fda81589dc940076bec405fdb3 (patch) | |
tree | 1f611e87522743c220973e29f3428f9fc5cd6b90 /libcxx | |
parent | d32a2d30cbe10cb966d0d98819a657eb209d1b47 (diff) | |
download | llvm-2ee837256a86f5fda81589dc940076bec405fdb3.zip llvm-2ee837256a86f5fda81589dc940076bec405fdb3.tar.gz llvm-2ee837256a86f5fda81589dc940076bec405fdb3.tar.bz2 |
Change a couple ifdefs from '#if __cplusplus >= 2011xxx' to '#ifndef _LIBCPP_CXX03_LANG'. No functionality change.
llvm-svn: 275787
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/include/iterator | 10 | ||||
-rw-r--r-- | libcxx/include/map | 4 | ||||
-rw-r--r-- | libcxx/include/unordered_map | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/libcxx/include/iterator b/libcxx/include/iterator index 2e30a92..abd142e 100644 --- a/libcxx/include/iterator +++ b/libcxx/include/iterator @@ -700,7 +700,7 @@ operator<=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& return __x.base() >= __y.base(); } -#if __cplusplus >= 201103L +#ifndef _LIBCPP_CXX03_LANG template <class _Iter1, class _Iter2> inline _LIBCPP_INLINE_VISIBILITY auto @@ -1117,7 +1117,7 @@ operator<=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) return __x.base() <= __y.base(); } -#if __cplusplus >= 201103L +#ifndef _LIBCPP_CXX03_LANG template <class _Iter1, class _Iter2> inline _LIBCPP_INLINE_VISIBILITY auto @@ -1186,7 +1186,7 @@ _LIBCPP_INLINE_VISIBILITY bool operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT; -#if __cplusplus >= 201103L +#ifndef _LIBCPP_CXX03_LANG template <class _Iter1, class _Iter2> _LIBCPP_INLINE_VISIBILITY auto @@ -1379,7 +1379,7 @@ private: bool operator<=(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT; -#if __cplusplus >= 201103L +#ifndef _LIBCPP_CXX03_LANG template <class _Iter1, class _Iter2> friend auto @@ -1496,7 +1496,7 @@ operator<=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEX return !(__y < __x); } -#if __cplusplus >= 201103L +#ifndef _LIBCPP_CXX03_LANG template <class _Iter1, class _Iter2> inline _LIBCPP_INLINE_VISIBILITY auto diff --git a/libcxx/include/map b/libcxx/include/map index 8dc84e7..b8aa7a6 100644 --- a/libcxx/include/map +++ b/libcxx/include/map @@ -910,7 +910,7 @@ public: _LIBCPP_INLINE_VISIBILITY map& operator=(const map& __m) { -#if __cplusplus >= 201103L +#ifndef _LIBCPP_CXX03_LANG __tree_ = __m.__tree_; #else if (this != &__m) { @@ -1637,7 +1637,7 @@ public: _LIBCPP_INLINE_VISIBILITY multimap& operator=(const multimap& __m) { -#if __cplusplus >= 201103L +#ifndef _LIBCPP_CXX03_LANG __tree_ = __m.__tree_; #else if (this != &__m) { diff --git a/libcxx/include/unordered_map b/libcxx/include/unordered_map index 319c71e..bf64ad6 100644 --- a/libcxx/include/unordered_map +++ b/libcxx/include/unordered_map @@ -865,7 +865,7 @@ public: _LIBCPP_INLINE_VISIBILITY unordered_map& operator=(const unordered_map& __u) { -#if __cplusplus >= 201103L +#ifndef _LIBCPP_CXX03_LANG __table_ = __u.__table_; #else if (this != &__u) { @@ -1619,7 +1619,7 @@ public: _LIBCPP_INLINE_VISIBILITY unordered_multimap& operator=(const unordered_multimap& __u) { -#if __cplusplus >= 201103L +#ifndef _LIBCPP_CXX03_LANG __table_ = __u.__table_; #else if (this != &__u) { |