26 return LangOpts.CPlusPlus11;
30 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
32 return TK_IgnoreUnlessSpelledInSource;
36 void checkDefaultInit(
const ast_matchers::MatchFinder::MatchResult &Result,
37 const CXXCtorInitializer *Init);
38 void checkExistingInit(
const ast_matchers::MatchFinder::MatchResult &Result,
39 const CXXCtorInitializer *Init);
41 const bool UseAssignment;
42 const bool IgnoreMacros;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.