reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Rewrite/RewriteRope.cpp
  342   for (; Offset > PieceOffs; ++i)
  343     PieceOffs += getPiece(i).size();
  346   unsigned StartPiece = i;
  350   for (; Offset+NumBytes > PieceOffs+getPiece(i).size(); ++i)
  350   for (; Offset+NumBytes > PieceOffs+getPiece(i).size(); ++i)
  351     PieceOffs += getPiece(i).size();
  354   if (Offset+NumBytes == PieceOffs+getPiece(i).size()) {
  355     PieceOffs += getPiece(i).size();
  356     ++i;
  360   if (i != StartPiece) {
  361     unsigned NumDeleted = i-StartPiece;
  362     for (; i != getNumPieces(); ++i)
  362     for (; i != getNumPieces(); ++i)
  363       Pieces[i-NumDeleted] = Pieces[i];
  363       Pieces[i-NumDeleted] = Pieces[i];