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