9 #ifndef LLVM_CLANG_TOOLING_TRANSFORMER_TRANSFORMER_H_ 10 #define LLVM_CLANG_TOOLING_TRANSFORMER_TRANSFORMER_H_ 15 #include "llvm/Support/Error.h" 26 std::function<void(Expected<clang::tooling::AtomicChange> Change)>;
34 : Rule(
std::move(Rule)), Consumer(
std::move(Consumer)) {}
52 #endif // LLVM_CLANG_TOOLING_TRANSFORMER_TRANSFORMER_H_ A class to allow finding matches over the Clang AST.
Contains all information for a given match.
Dataflow Directional Tag Classes.
Called when the Match registered for it was successfully found in the AST.
Defines the RewriteRule class and related functions for creating, modifying and interpreting RewriteR...