Home | History | Annotate | Download | only in Edit

Lines Matching refs:OrigLoc

31 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) {
38 if (SourceMgr.isMacroArgExpansion(OrigLoc)) {
40 DefArgLoc = SourceMgr.getImmediateExpansionRange(OrigLoc).first;
53 bool EditedSource::commitInsert(SourceLocation OrigLoc,
56 if (!canInsertInOffset(OrigLoc, Offs))
61 if (SourceMgr.isMacroArgExpansion(OrigLoc)) {
63 DefArgLoc = SourceMgr.getImmediateExpansionRange(OrigLoc).first;
83 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc,
138 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions);
141 void EditedSource::commitRemove(SourceLocation OrigLoc,
227 commitInsert(edit.OrigLoc, edit.Offset, edit.Text, edit.BeforePrev);
230 commitInsertFromRange(edit.OrigLoc, edit.Offset,
235 commitRemove(edit.OrigLoc, edit.Offset, edit.Length);