Lines Matching refs:FileEdits
76 if (FA != FileEdits.end()) { in canInsertInOffset()
127 FileEdit &FA = FileEdits[Offs]; in commitInsert()
151 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
152 if (I != FileEdits.begin()) in commitInsertFromRange()
155 for (; I != FileEdits.end(); ++I) { in commitInsertFromRange()
172 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange()
205 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitRemove()
206 if (I != FileEdits.begin()) in commitRemove()
209 for (; I != FileEdits.end(); ++I) { in commitRemove()
221 if (I == FileEdits.end()) { in commitRemove()
223 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove()
233 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove()
252 while (I != FileEdits.end()) { in commitRemove()
261 FileEdits.erase(I++); in commitRemove()
269 FileEdits.erase(I); in commitRemove()
415 if (FileEdits.empty()) in applyRewrites()
418 FileEditsTy::iterator I = FileEdits.begin(); in applyRewrites()
425 for (FileEditsTy::iterator E = FileEdits.end(); I != E; ++I) { in applyRewrites()
450 FileEdits.clear(); in clearRewrites()
469 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset()
470 if (I == FileEdits.begin()) in getActionForOffset()
471 return FileEdits.end(); in getActionForOffset()
479 return FileEdits.end(); in getActionForOffset()