Searched defs:StartOffs (Results 1 - 2 of 2) sorted by relevance

/external/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h61 unsigned StartOffs; member in struct:clang::RopePiece
64 RopePiece() : StrData(nullptr), StartOffs(0), EndOffs(0) {}
67 : StrData(Str), StartOffs(Start), EndOffs(End) {
72 : StrData(RP.StrData), StartOffs(RP.StartOffs), EndOffs(RP.EndOffs) {
90 StartOffs = RHS.StartOffs;
95 return StrData->Data[Offset+StartOffs];
98 return StrData->Data[Offset+StartOffs];
101 unsigned size() const { return EndOffs-StartOffs; }
[all...]
/external/clang/lib/Rewrite/Core/
H A DRewriter.cpp246 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); local
252 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1;
279 getEditBuffer(FID).InsertText(StartOffs, Str, InsertAfter);
286 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); local
289 StartOffs += getRangeSize(SourceRange(Loc, Loc), rangeOpts);
290 getEditBuffer(FID).InsertText(StartOffs, Str, /*InsertAfter*/true);
299 unsigned StartOffs = getLocationOffsetAndFileID(Start, FID); local
300 getEditBuffer(FID).RemoveText(StartOffs, Length, opts.RemoveLineIfEmpty);
311 unsigned StartOffs = getLocationOffsetAndFileID(Start, StartFileID); local
313 getEditBuffer(StartFileID).ReplaceText(StartOffs, OrigLengt
[all...]

Completed in 189 milliseconds