Lines Matching refs:Rewriter
19 #include "clang/Rewrite/Core/Rewriter.h"
513 Rewriter &rewriter;
517 RewritesApplicator(Rewriter &rewriter, ASTContext &ctx,
519 : rewriter(rewriter), Listener(listener) {
529 bool err = rewriter.InsertText(loc, text, /*InsertAfter=*/true,
536 Rewriter::RewriteOptions removeOpts;
541 bool err = rewriter.RemoveText(range, removeOpts);
548 rewriter.IncreaseIndentation(range, parentIndent);
626 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts());
634 RewritesApplicator applicator(rewriter, Ctx, listener);
644 for (Rewriter::buffer_iterator
645 I = rewriter.buffer_begin(), E = rewriter.buffer_end(); I != E; ++I) {