clang  8.0.0svn
Public Types | Public Member Functions | List of all members
clang::RopePieceBTree Class Reference

#include "clang/Rewrite/Core/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 137 of file RewriteRope.h.

Member Typedef Documentation

◆ iterator

Definition at line 146 of file RewriteRope.h.

Constructor & Destructor Documentation

◆ RopePieceBTree() [1/2]

RopePieceBTree::RopePieceBTree ( )

Definition at line 722 of file RewriteRope.cpp.

◆ RopePieceBTree() [2/2]

RopePieceBTree::RopePieceBTree ( const RopePieceBTree RHS)

Definition at line 726 of file RewriteRope.cpp.

References empty().

◆ ~RopePieceBTree()

RopePieceBTree::~RopePieceBTree ( )

Definition at line 731 of file RewriteRope.cpp.

References getRoot().

Member Function Documentation

◆ begin()

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

Definition at line 148 of file RewriteRope.h.

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

◆ clear()

void RopePieceBTree::clear ( )

Definition at line 739 of file RewriteRope.cpp.

References getRoot().

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

◆ empty()

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

Definition at line 151 of file RewriteRope.h.

References clang::CodeGen::clear(), and Offset.

Referenced by RopePieceBTree().

◆ end()

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

Definition at line 149 of file RewriteRope.h.

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

◆ erase()

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

Definition at line 758 of file RewriteRope.cpp.

References End, getRoot(), memcpy(), offsetof, and clang::RopeRefCountString::RefCount.

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

◆ insert()

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

Definition at line 748 of file RewriteRope.cpp.

References getRoot().

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

◆ operator=()

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

◆ size()

unsigned RopePieceBTree::size ( ) const

Definition at line 735 of file RewriteRope.cpp.

References getRoot().

Referenced by clang::RewriteRope::size().


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