Lines Matching refs:RewriteBuffer
25 raw_ostream &RewriteBuffer::write(raw_ostream &os) const { in write()
49 void RewriteBuffer::RemoveText(unsigned OrigOffset, unsigned Size, in RemoveText()
92 void RewriteBuffer::InsertText(unsigned OrigOffset, StringRef Str, in InsertText()
108 void RewriteBuffer::ReplaceText(unsigned OrigOffset, unsigned OrigLength, in ReplaceText()
140 std::map<FileID, RewriteBuffer>::const_iterator I = in getRangeSize()
143 const RewriteBuffer &RB = I->second; in getRangeSize()
183 std::map<FileID, RewriteBuffer>::const_iterator I = in getRewrittenText()
195 const RewriteBuffer &RB = I->second; in getRewrittenText()
204 RewriteBuffer::iterator Start = RB.begin(); in getRewrittenText()
206 RewriteBuffer::iterator End = Start; in getRewrittenText()
223 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) { in getEditBuffer()
224 std::map<FileID, RewriteBuffer>::iterator I = in getEditBuffer()
228 I = RewriteBuffers.insert(I, std::make_pair(FID, RewriteBuffer())); in getEditBuffer()
381 RewriteBuffer &RB = getEditBuffer(FID); in IncreaseIndentation()