36 return LangOpts.CPlusPlus;
39 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
49 void checkMissingMemberInitializer(ASTContext &Context,
50 const CXXRecordDecl &ClassDecl,
51 const CXXConstructorDecl *Ctor);
55 void checkMissingBaseClassInitializer(
const ASTContext &Context,
56 const CXXRecordDecl &ClassDecl,
57 const CXXConstructorDecl *Ctor);
64 void checkUninitializedTrivialType(
const ASTContext &Context,
77 llvm::DenseSet<const FieldDecl *> HasRecordClassMemberSet;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.