HomeSort by relevance Sort by last modified time
    Searched defs:StartOffs (Results 1 - 2 of 2) sorted by null

  /external/clang/include/clang/Rewrite/Core/
RewriteRope.h 61 unsigned StartOffs;
64 RopePiece() : StrData(nullptr), StartOffs(0), EndOffs(0) {}
68 : StrData(std::move(Str)), StartOffs(Start), EndOffs(End) {}
71 return StrData->Data[Offset+StartOffs];
74 return StrData->Data[Offset+StartOffs];
77 unsigned size() const { return EndOffs-StartOffs; }
  /external/clang/lib/Rewrite/
Rewriter.cpp 244 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID);
250 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1;
277 getEditBuffer(FID).InsertText(StartOffs, Str, InsertAfter);
284 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID);
287 StartOffs += getRangeSize(SourceRange(Loc, Loc), rangeOpts);
288 getEditBuffer(FID).InsertText(StartOffs, Str, /*InsertAfter*/true);
297 unsigned StartOffs = getLocationOffsetAndFileID(Start, FID);
298 getEditBuffer(FID).RemoveText(StartOffs, Length, opts.RemoveLineIfEmpty);
309 unsigned StartOffs = getLocationOffsetAndFileID(Start, StartFileID);
311 getEditBuffer(StartFileID).ReplaceText(StartOffs, OrigLength, NewStr)
    [all...]

Completed in 103 milliseconds