Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
DRewriter.cpp130 unsigned StartOff, EndOff; in getRangeSize() local
132 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID); in getRangeSize()
145 StartOff = RB.getMappedOffset(StartOff, !opts.IncludeInsertsAtBeginOfRange); in getRangeSize()
154 return EndOff-StartOff; in getRangeSize()
174 unsigned StartOff, EndOff; in getRewrittenText() local
175 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID); in getRewrittenText()
192 return std::string(Ptr, Ptr+EndOff-StartOff); in getRewrittenText()
197 StartOff = RB.getMappedOffset(StartOff); in getRewrittenText()
205 std::advance(Start, StartOff); in getRewrittenText()
207 std::advance(End, EndOff-StartOff); in getRewrittenText()
[all …]