Lines Matching refs:Callback
25 RefactoringCallback &Callback) {
27 Finder.addMatcher(AMatcher, &Callback);
34 EXPECT_TRUE(tooling::applyAllReplacements(Callback.getReplacements(),
42 ReplaceStmtWithText Callback("id", ";");
43 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
49 ReplaceStmtWithText Callback("id", ";");
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
56 ReplaceStmtWithText Callback("id", ";");
57 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
63 ReplaceStmtWithText Callback("id", "2");
65 Callback);
71 ReplaceStmtWithStmt Callback("always-false", "should-be");
76 Callback);
82 ReplaceIfStmtWithItsBody Callback("id", true);
87 Callback);
93 ReplaceIfStmtWithItsBody Callback("id", false);
96 Callback);