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