Lines Matching refs:FileEdits
33 if (FA != FileEdits.end()) { in canInsertInOffset()
69 FileEdit &FA = FileEdits[Offs]; in commitInsert()
93 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
94 if (I != FileEdits.begin()) in commitInsertFromRange()
97 for (; I != FileEdits.end(); ++I) { in commitInsertFromRange()
114 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange()
147 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitRemove()
148 if (I != FileEdits.begin()) in commitRemove()
151 for (; I != FileEdits.end(); ++I) { in commitRemove()
163 if (I == FileEdits.end()) { in commitRemove()
165 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove()
175 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove()
194 while (I != FileEdits.end()) { in commitRemove()
203 FileEdits.erase(I++); in commitRemove()
211 FileEdits.erase(I); in commitRemove()
343 if (FileEdits.empty()) in applyRewrites()
346 FileEditsTy::iterator I = FileEdits.begin(); in applyRewrites()
353 for (FileEditsTy::iterator E = FileEdits.end(); I != E; ++I) { in applyRewrites()
376 FileEdits.clear(); in clearRewrites()
395 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset()
396 if (I == FileEdits.begin()) in getActionForOffset()
397 return FileEdits.end(); in getActionForOffset()
405 return FileEdits.end(); in getActionForOffset()