28 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
30 return TK_IgnoreUnlessSpelledInSource;
34 void checkIfStmt(
const ast_matchers::MatchFinder::MatchResult &Result,
36 void emitDiagnostic(
const ast_matchers::MatchFinder::MatchResult &Result,
37 const Stmt *S, SourceLocation StartLoc,
38 SourceLocation EndLocHint = {});
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.