LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::RopePieceBTree Class Reference

#include "llvm/ADT/RewriteRope.h"

Public Types

using iterator = RopePieceBTreeIterator
 

Public Member Functions

 RopePieceBTree ()
 
 RopePieceBTree (const RopePieceBTree &RHS)
 
RopePieceBTreeoperator= (const RopePieceBTree &)=delete
 
 ~RopePieceBTree ()
 
iterator begin () const
 
iterator end () const
 
unsigned size () const
 
unsigned empty () const
 
void clear ()
 
void insert (unsigned Offset, const RopePiece &R)
 
void erase (unsigned Offset, unsigned NumBytes)
 

Detailed Description

Definition at line 141 of file RewriteRope.h.

Member Typedef Documentation

◆ iterator

Definition at line 150 of file RewriteRope.h.

Constructor & Destructor Documentation

◆ RopePieceBTree() [1/2]

RopePieceBTree::RopePieceBTree ( )

Definition at line 718 of file RewriteRope.cpp.

◆ RopePieceBTree() [2/2]

RopePieceBTree::RopePieceBTree ( const RopePieceBTree RHS)

Definition at line 720 of file RewriteRope.cpp.

References assert(), and RHS.

◆ ~RopePieceBTree()

RopePieceBTree::~RopePieceBTree ( )

Definition at line 725 of file RewriteRope.cpp.

References getRoot().

Member Function Documentation

◆ begin()

iterator llvm::RopePieceBTree::begin ( ) const
inline

Definition at line 152 of file RewriteRope.h.

Referenced by llvm::RewriteRope::begin().

◆ clear()

void RopePieceBTree::clear ( )

Definition at line 729 of file RewriteRope.cpp.

References getRoot().

Referenced by llvm::RewriteRope::clear().

◆ empty()

unsigned llvm::RopePieceBTree::empty ( ) const
inline

Definition at line 155 of file RewriteRope.h.

References size().

◆ end()

iterator llvm::RopePieceBTree::end ( ) const
inline

Definition at line 153 of file RewriteRope.h.

Referenced by llvm::RewriteRope::end().

◆ erase()

void RopePieceBTree::erase ( unsigned  Offset,
unsigned  NumBytes 
)

Definition at line 748 of file RewriteRope.cpp.

References getRoot(), llvm::Offset, and RHS.

Referenced by llvm::RewriteRope::erase().

◆ insert()

void RopePieceBTree::insert ( unsigned  Offset,
const RopePiece R 
)

Definition at line 738 of file RewriteRope.cpp.

References getRoot(), insert(), llvm::Offset, and RHS.

Referenced by llvm::RewriteRope::assign(), llvm::RewriteRope::insert(), and insert().

◆ operator=()

RopePieceBTree & llvm::RopePieceBTree::operator= ( const RopePieceBTree )
delete

◆ size()

unsigned RopePieceBTree::size ( ) const

Definition at line 727 of file RewriteRope.cpp.

References getRoot().

Referenced by empty(), and llvm::RewriteRope::size().


The documentation for this class was generated from the following files: