Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
DRewriter.cpp130 unsigned StartOff, EndOff; in getRangeSize() local
133 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRangeSize()
144 EndOff = RB.getMappedOffset(EndOff, opts.IncludeInsertsAtEndOfRange); in getRangeSize()
152 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize()
154 return EndOff-StartOff; in getRangeSize()
174 unsigned StartOff, EndOff; in getRewrittenText() local
176 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRewrittenText()
191 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
192 return std::string(Ptr, Ptr+EndOff-StartOff); in getRewrittenText()
196 EndOff = RB.getMappedOffset(EndOff, true); in getRewrittenText()
[all …]