Lines Matching refs:OrigLoc
75 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument
82 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset()
85 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse); in canInsertInOffset()
112 bool EditedSource::commitInsert(SourceLocation OrigLoc, in commitInsert() argument
115 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert()
120 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
123 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse); in commitInsert()
142 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc, in commitInsertFromRange() argument
197 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange()
200 void EditedSource::commitRemove(SourceLocation OrigLoc, in commitRemove() argument
298 commitInsert(edit.OrigLoc, edit.Offset, edit.Text, edit.BeforePrev); in commit()
301 commitInsertFromRange(edit.OrigLoc, edit.Offset, in commit()
306 commitRemove(edit.OrigLoc, edit.Offset, edit.Length); in commit()