Lines Matching refs:FID
213 FileID &FID) const { in getLocationOffsetAndFileID()
216 FID = V.first; in getLocationOffsetAndFileID()
223 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) { in getEditBuffer() argument
225 RewriteBuffers.lower_bound(FID); in getEditBuffer()
226 if (I != RewriteBuffers.end() && I->first == FID) in getEditBuffer()
228 I = RewriteBuffers.insert(I, std::make_pair(FID, RewriteBuffer())); in getEditBuffer()
230 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer()
241 FileID FID; in InsertText() local
242 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); in InsertText()
246 StringRef MB = SourceMgr->getBufferData(FID); in InsertText()
248 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1; in InsertText()
250 Content = SourceMgr->getSLocEntry(FID).getFile().getContentCache(); in InsertText()
275 getEditBuffer(FID).InsertText(StartOffs, Str, InsertAfter); in InsertText()
281 FileID FID; in InsertTextAfterToken() local
282 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); in InsertTextAfterToken()
286 getEditBuffer(FID).InsertText(StartOffs, Str, /*InsertAfter*/true); in InsertTextAfterToken()
294 FileID FID; in RemoveText() local
295 unsigned StartOffs = getLocationOffsetAndFileID(Start, FID); in RemoveText()
296 getEditBuffer(FID).RemoveText(StartOffs, Length, opts.RemoveLineIfEmpty); in RemoveText()
320 FileID FID; in ReplaceText() local
322 FID); in ReplaceText()
323 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText()
346 FileID FID = StartFileID; in IncreaseIndentation() local
347 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation()
349 unsigned parentLineNo = SourceMgr->getLineNumber(FID, parentOff) - 1; in IncreaseIndentation()
350 unsigned startLineNo = SourceMgr->getLineNumber(FID, StartOff) - 1; in IncreaseIndentation()
351 unsigned endLineNo = SourceMgr->getLineNumber(FID, EndOff) - 1; in IncreaseIndentation()
354 Content = SourceMgr->getSLocEntry(FID).getFile().getContentCache(); in IncreaseIndentation()
381 RewriteBuffer &RB = getEditBuffer(FID); in IncreaseIndentation()