Lines Matching refs:act
201 ActionData &act = CachedActions[i]; in commitTransaction() local
202 switch (act.Kind) { in commitTransaction()
204 if (!canInsert(act.Loc)) in commitTransaction()
208 if (!canInsertAfterToken(act.Loc)) in commitTransaction()
212 if (!canRemoveRange(act.R1)) in commitTransaction()
216 assert(act.S); in commitTransaction()
217 if (!canRemoveRange(act.S->getSourceRange())) in commitTransaction()
221 if (!canReplaceRange(act.R1, act.R2)) in commitTransaction()
225 if (!canReplaceText(act.Loc, act.Text1)) in commitTransaction()
245 ActionData &act = CachedActions[i]; in commitTransaction() local
246 switch (act.Kind) { in commitTransaction()
248 commitInsert(act.Loc, act.Text1); in commitTransaction()
251 commitInsertAfterToken(act.Loc, act.Text1); in commitTransaction()
254 commitRemove(act.R1); in commitTransaction()
257 commitRemoveStmt(act.S); in commitTransaction()
260 commitReplace(act.R1, act.R2); in commitTransaction()
263 commitReplaceText(act.Loc, act.Text1, act.Text2); in commitTransaction()
266 commitIncreaseIndentation(act.R1, act.Loc); in commitTransaction()
269 commitClearDiagnostic(act.DiagIDs, act.R1); in commitTransaction()