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.cpp684 CurPiece = &getCN(CurNode)->getPiece(0); in RopePieceBTreeIterator()
686 CurPiece = nullptr; in RopePieceBTreeIterator()
691 if (CurPiece != &getCN(CurNode)->getPiece(getCN(CurNode)->getNumPieces()-1)) { in MoveToNextPiece()
693 ++CurPiece; in MoveToNextPiece()
703 CurPiece = &getCN(CurNode)->getPiece(0); in MoveToNextPiece()
705 CurPiece = nullptr; in MoveToNextPiece()