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