Lines Matching refs:OrigLoc
74 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument
81 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset()
84 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse); in canInsertInOffset()
111 bool EditedSource::commitInsert(SourceLocation OrigLoc, in commitInsert() argument
114 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert()
119 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
122 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse); in commitInsert()
141 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc, in commitInsertFromRange() argument
196 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange()
199 void EditedSource::commitRemove(SourceLocation OrigLoc, in commitRemove() argument
297 commitInsert(edit.OrigLoc, edit.Offset, edit.Text, edit.BeforePrev); in commit()
300 commitInsertFromRange(edit.OrigLoc, edit.Offset, in commit()
305 commitRemove(edit.OrigLoc, edit.Offset, edit.Length); in commit()