Lines Matching refs:FileEdits
63 if (FA != FileEdits.end()) { in canInsertInOffset()
111 FileEdit &FA = FileEdits[Offs]; in commitInsert()
135 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
136 if (I != FileEdits.begin()) in commitInsertFromRange()
139 for (; I != FileEdits.end(); ++I) { in commitInsertFromRange()
156 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange()
189 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitRemove()
190 if (I != FileEdits.begin()) in commitRemove()
193 for (; I != FileEdits.end(); ++I) { in commitRemove()
205 if (I == FileEdits.end()) { in commitRemove()
207 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove()
217 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove()
236 while (I != FileEdits.end()) { in commitRemove()
245 FileEdits.erase(I++); in commitRemove()
253 FileEdits.erase(I); in commitRemove()
395 if (FileEdits.empty()) in applyRewrites()
398 FileEditsTy::iterator I = FileEdits.begin(); in applyRewrites()
405 for (FileEditsTy::iterator E = FileEdits.end(); I != E; ++I) { in applyRewrites()
428 FileEdits.clear(); in clearRewrites()
447 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset()
448 if (I == FileEdits.begin()) in getActionForOffset()
449 return FileEdits.end(); in getActionForOffset()
457 return FileEdits.end(); in getActionForOffset()