Lines Matching refs:RewriteRule
164 RewriteRule transformer::makeRule(DynTypedMatcher M, EditGenerator Edits, in makeRule()
166 return RewriteRule{{RewriteRule::Case{std::move(M), std::move(Edits), in makeRule()
233 ApplyRuleCallback(RewriteRule Rule) : Rule(std::move(Rule)) {} in ApplyRuleCallback()
245 transformer::RewriteRule::Case Case = in run()
255 RewriteRule Rule;
264 rewriteDescendantsImpl(const T &Node, RewriteRule Rule, in rewriteDescendantsImpl()
274 transformer::detail::rewriteDescendants(const Decl &Node, RewriteRule Rule, in rewriteDescendants()
280 transformer::detail::rewriteDescendants(const Stmt &Node, RewriteRule Rule, in rewriteDescendants()
286 transformer::detail::rewriteDescendants(const TypeLoc &Node, RewriteRule Rule, in rewriteDescendants()
293 RewriteRule Rule, in rewriteDescendants()
309 RewriteRule Rule) { in rewriteDescendants()
323 void transformer::addInclude(RewriteRule &Rule, StringRef Header, in addInclude()
344 const SmallVectorImpl<std::pair<size_t, RewriteRule::Case>> &Cases, in taggedMatchers()
364 RewriteRule transformer::applyFirst(ArrayRef<RewriteRule> Rules) { in applyFirst()
365 RewriteRule R; in applyFirst()
372 transformer::detail::buildMatchers(const RewriteRule &Rule) { in buildMatchers()
377 std::map<ASTNodeKind, SmallVector<std::pair<size_t, RewriteRule::Case>, 1>> in buildMatchers()
379 const SmallVectorImpl<RewriteRule::Case> &Cases = Rule.Cases; in buildMatchers()
403 DynTypedMatcher transformer::detail::buildMatcher(const RewriteRule &Rule) { in buildMatcher()
426 const RewriteRule::Case &
428 const RewriteRule &Rule) { in findSelectedCase()
441 const llvm::StringRef RewriteRule::RootID = ::clang::transformer::RootID;