Home | History | Annotate | Download | only in Frontend

Lines Matching refs:commit

17 #include "clang/Edit/Commit.h"
143 edit::Commit commit(Editor);
150 commit.insertFromRange(Hint.RemoveRange.getBegin(),
154 commit.remove(Hint.RemoveRange);
158 commit.replace(Hint.RemoveRange, Hint.CodeToInsert);
160 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
164 bool CanRewrite = Info.getNumFixItHints() > 0 && commit.isCommitable();
178 if (!Editor.commit(commit)) {