51 std::function<std::optional<transformer::RewriteRuleWith<std::string>>(
52 const LangOptions &,
const OptionsView &)>
62 Preprocessor *ModuleExpanderPP)
override;
64 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
final;
77 void setRule(transformer::RewriteRuleWith<std::string> R);
80 transformer::RewriteRuleWith<std::string> Rule;
81 IncludeInserter Inserter;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.