diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-10-25 20:45:17 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-10-25 20:45:17 +0000 |
commit | e577a4c660fa4a64a02f4ebf8108f9d992aa2b89 (patch) | |
tree | c7f77dc607ba7fc3cf2a05cb7b267c2a6200dbad /include/__nullptr | |
parent | da2c55edd90de8dde61af145700dadabbaaa7d25 (diff) |
Fix nullptr tests
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@285117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/__nullptr')
-rw-r--r-- | include/__nullptr | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/__nullptr b/include/__nullptr index 95415a632..38ee379ef 100644 --- a/include/__nullptr +++ b/include/__nullptr @@ -42,10 +42,6 @@ struct _LIBCPP_TYPE_VIS_ONLY nullptr_t friend _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR bool operator==(nullptr_t, nullptr_t) {return true;} friend _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR bool operator!=(nullptr_t, nullptr_t) {return false;} - friend _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR bool operator<(nullptr_t, nullptr_t) {return false;} - friend _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR bool operator<=(nullptr_t, nullptr_t) {return true;} - friend _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR bool operator>(nullptr_t, nullptr_t) {return false;} - friend _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR bool operator>=(nullptr_t, nullptr_t) {return true;} }; inline _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR nullptr_t __get_nullptr_t() {return nullptr_t(0);} |