Lines Matching refs:Result
41 const ast_matchers::MatchFinder::MatchResult &Result) {
42 if (const Stmt *FromMatch = Result.Nodes.getStmtAs<Stmt>(FromId)) {
44 *Result.SourceManager,
54 const ast_matchers::MatchFinder::MatchResult &Result) {
55 const Stmt *FromMatch = Result.Nodes.getStmtAs<Stmt>(FromId);
56 const Stmt *ToMatch = Result.Nodes.getStmtAs<Stmt>(ToId);
59 *Result.SourceManager, *FromMatch, *ToMatch));
67 const ast_matchers::MatchFinder::MatchResult &Result) {
68 if (const IfStmt *Node = Result.Nodes.getStmtAs<IfStmt>(Id)) {
71 Replace.insert(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body));
75 Replace.insert(replaceStmtWithText(*Result.SourceManager, *Node, ""));