Home
last modified time | relevance | path

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

/external/clang/include/clang/Rewrite/Core/
DRewriteRope.h94 const RopePiece *CurPiece; variable
102 : CurNode(nullptr), CurPiece(nullptr), CurChar(0) {} in RopePieceBTreeIterator()
105 return (*CurPiece)[CurChar];
109 return CurPiece == RHS.CurPiece && CurChar == RHS.CurChar;
116 if (CurChar+1 < CurPiece->size())
127 return llvm::StringRef(&(*CurPiece)[0], CurPiece->size()); in piece()
/external/clang/lib/Rewrite/
DRewriteRope.cpp682 CurPiece = &getCN(CurNode)->getPiece(0); in RopePieceBTreeIterator()
684 CurPiece = nullptr; in RopePieceBTreeIterator()
689 if (CurPiece != &getCN(CurNode)->getPiece(getCN(CurNode)->getNumPieces()-1)) { in MoveToNextPiece()
691 ++CurPiece; in MoveToNextPiece()
701 CurPiece = &getCN(CurNode)->getPiece(0); in MoveToNextPiece()
703 CurPiece = nullptr; in MoveToNextPiece()