Lines Matching refs:Edit
20 #include "clang/Edit/Rewriters.h"
21 #include "clang/Edit/Commit.h"
1795 const NSAPI &, edit::Commit &)) {
1801 edit::Commit ECommit(SM, S.LangOpts);
1808 for (edit::Commit::edit_iterator
1810 const edit::Commit::Edit &Edit = *I;
1811 switch (Edit.Kind) {
1812 case edit::Commit::Act_Insert:
1813 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc,
1814 Edit.Text,
1815 Edit.BeforePrev));
1817 case edit::Commit::Act_InsertFromRange:
1819 FixItHint::CreateInsertionFromRange(Edit.OrigLoc,
1820 Edit.getInsertFromRange(SM),
1821 Edit.BeforePrev));
1823 case edit::Commit::Act_Remove:
1824 Builder.AddFixItHint(FixItHint::CreateRemoval(Edit.getFileRange(SM)));
1833 edit::rewriteObjCRedundantCallWithLiteral);