Loading llvm/include/llvm/ADT/STLExtras.h +5 −9 Original line number Diff line number Diff line Loading @@ -1291,15 +1291,11 @@ public: } /// Compare this range with another. template <typename OtherT> friend bool operator==(const indexed_accessor_range_base &lhs, const OtherT &rhs) { return std::equal(lhs.begin(), lhs.end(), rhs.begin(), rhs.end()); } template <typename OtherT> friend bool operator!=(const indexed_accessor_range_base &lhs, const OtherT &rhs) { return !(lhs == rhs); template <typename OtherT> bool operator==(const OtherT &rhs) const { return std::equal(begin(), end(), rhs.begin(), rhs.end()); } template <typename OtherT> bool operator!=(const OtherT &rhs) const { return !(*this == rhs); } /// Return the size of this range. Loading Loading
llvm/include/llvm/ADT/STLExtras.h +5 −9 Original line number Diff line number Diff line Loading @@ -1291,15 +1291,11 @@ public: } /// Compare this range with another. template <typename OtherT> friend bool operator==(const indexed_accessor_range_base &lhs, const OtherT &rhs) { return std::equal(lhs.begin(), lhs.end(), rhs.begin(), rhs.end()); } template <typename OtherT> friend bool operator!=(const indexed_accessor_range_base &lhs, const OtherT &rhs) { return !(lhs == rhs); template <typename OtherT> bool operator==(const OtherT &rhs) const { return std::equal(begin(), end(), rhs.begin(), rhs.end()); } template <typename OtherT> bool operator!=(const OtherT &rhs) const { return !(*this == rhs); } /// Return the size of this range. Loading