29 #ifndef LLVM_CLANG_TOOLING_REFACTORINGCALLBACKS_H
30 #define LLVM_CLANG_TOOLING_REFACTORINGCALLBACKS_H
84 const bool PickTrueBranch;
Replace an if-statement bound to Id with the outdented text of its body, choosing the consequent or t...
void run(const ast_matchers::MatchFinder::MatchResult &Result) override
Called on every match by the MatchFinder.
ReplaceIfStmtWithItsBody(StringRef Id, bool PickTrueBranch)
Contains all information for a given match.
The result type of a method or function.
ReplaceStmtWithText(StringRef FromId, StringRef ToText)
Replace the text of the statement bound to FromId with the text in ToText.
void run(const ast_matchers::MatchFinder::MatchResult &Result) override
Called on every match by the MatchFinder.
Called when the Match registered for it was successfully found in the AST.