28 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
31 return TK_IgnoreUnlessSpelledInSource;
36 checkRedundantReturn(
const ast_matchers::MatchFinder::MatchResult &Result,
37 const CompoundStmt *
Block);
40 checkRedundantContinue(
const ast_matchers::MatchFinder::MatchResult &Result,
41 const CompoundStmt *
Block);
43 void issueDiagnostic(
const ast_matchers::MatchFinder::MatchResult &Result,
44 const CompoundStmt *
Block,
const SourceRange &StmtRange,
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.