LLVM 20.0.0git
|
RopePieceBTreeIterator - This class provides read-only forward iteration over bytes that are in a RopePieceBTree. More...
#include "llvm/ADT/RewriteRope.h"
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = const char |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
RopePieceBTreeIterator ()=default | |
RopePieceBTreeIterator (const void *N) | |
char | operator* () const |
bool | operator== (const RopePieceBTreeIterator &RHS) const |
bool | operator!= (const RopePieceBTreeIterator &RHS) const |
RopePieceBTreeIterator & | operator++ () |
RopePieceBTreeIterator | operator++ (int) |
llvm::StringRef | piece () const |
void | MoveToNextPiece () |
RopePieceBTreeIterator - This class provides read-only forward iteration over bytes that are in a RopePieceBTree.
This first iterates over bytes in a RopePiece, then iterates over RopePiece's in a RopePieceBTreeLeaf, then iterates over RopePieceBTreeLeaf's in a RopePieceBTree.
Definition at line 86 of file RewriteRope.h.
using llvm::RopePieceBTreeIterator::difference_type = std::ptrdiff_t |
Definition at line 100 of file RewriteRope.h.
using llvm::RopePieceBTreeIterator::iterator_category = std::forward_iterator_tag |
Definition at line 98 of file RewriteRope.h.
Definition at line 101 of file RewriteRope.h.
Definition at line 102 of file RewriteRope.h.
Definition at line 99 of file RewriteRope.h.
|
default |
RopePieceBTreeIterator::RopePieceBTreeIterator | ( | const void * | N | ) |
Definition at line 668 of file RewriteRope.cpp.
void RopePieceBTreeIterator::MoveToNextPiece | ( | ) |
|
inline |
Definition at line 112 of file RewriteRope.h.
References operator==(), and RHS.
|
inline |
Definition at line 107 of file RewriteRope.h.
|
inline |
Definition at line 116 of file RewriteRope.h.
References MoveToNextPiece(), and llvm::RopePiece::size().
|
inline |
Definition at line 124 of file RewriteRope.h.
|
inline |
|
inline |
Definition at line 130 of file RewriteRope.h.
References llvm::RopePiece::size().