Lines Matching refs:OrigLoc
61 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument
68 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset()
71 deconstructMacroArgLoc(OrigLoc, ExpLoc, II); in canInsertInOffset()
95 bool EditedSource::commitInsert(SourceLocation OrigLoc, in commitInsert() argument
98 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert()
103 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
106 deconstructMacroArgLoc(OrigLoc, ExpLoc, II); in commitInsert()
125 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc, in commitInsertFromRange() argument
180 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange()
183 void EditedSource::commitRemove(SourceLocation OrigLoc, in commitRemove() argument
279 commitInsert(edit.OrigLoc, edit.Offset, edit.Text, edit.BeforePrev); in commit()
282 commitInsertFromRange(edit.OrigLoc, edit.Offset, in commit()
287 commitRemove(edit.OrigLoc, edit.Offset, edit.Length); in commit()