Lines Matching defs:rewriter
19 #include "clang/Rewrite/Core/Rewriter.h"
507 Rewriter &rewriter;
511 RewritesApplicator(Rewriter &rewriter, ASTContext &ctx,
513 : rewriter(rewriter), Listener(listener) {
523 bool err = rewriter.InsertText(loc, text, /*InsertAfter=*/true,
530 Rewriter::RewriteOptions removeOpts;
535 bool err = rewriter.RemoveText(range, removeOpts);
542 rewriter.IncreaseIndentation(range, parentIndent);
618 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts());
626 RewritesApplicator applicator(rewriter, Ctx, listener);
636 for (Rewriter::buffer_iterator
637 I = rewriter.buffer_begin(), E = rewriter.buffer_end(); I != E; ++I) {