26 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
29 const bool StrictMode;
30 const bool EnableCountingEnumHeuristic;
31 const std::vector<StringRef> CountingEnumPrefixes;
32 const std::vector<StringRef> CountingEnumSuffixes;
34 std::pair<const std::size_t, const EnumConstantDecl *>
35 getNumberOfEnumValues(
const EnumDecl *ED);
36 bool isCountingEnumLikeName(StringRef Name)
const;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.