Home
last modified time | relevance | path

Searched refs:SafeIntIterator (Results 1 – 1 of 1) sorted by relevance

/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/ADT/
HDSequence.h188 template <typename T, bool IsReverse> struct SafeIntIterator { struct
196 explicit SafeIntIterator(T Value) : SI(CheckedInt::from<T>(Value)) {} in SafeIntIterator() function
198 SafeIntIterator(const SafeIntIterator<T, !IsReverse> &O) : SI(O.SI) {} in SafeIntIterator() function
206 bool operator==(const SafeIntIterator &O) const { return SI == O.SI; }
207 bool operator!=(const SafeIntIterator &O) const { return SI != O.SI; }
209 bool operator<(const SafeIntIterator &O) const { return (*this - O) < 0; }
210 bool operator>(const SafeIntIterator &O) const { return (*this - O) > 0; }
211 bool operator<=(const SafeIntIterator &O) const { return (*this - O) <= 0; }
212 bool operator>=(const SafeIntIterator &O) const { return (*this - O) >= 0; }
219 SafeIntIterator operator++(int) {
[all …]