1 #ifndef Utilities_StaticAnalyzers_MemberChecker_h 2 #define Utilities_StaticAnalyzers_MemberChecker_h 3 #include <clang/StaticAnalyzer/Core/Checker.h> 4 #include <clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h> 5 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h> 12 class ClassChecker :
public clang::ento::Checker<clang::ento::check::ASTDecl<clang::CXXRecordDecl> > {
15 clang::ento::AnalysisManager &mgr,
16 clang::ento::BugReporter &BR)
const;
void checkASTDecl(const clang::CXXRecordDecl *CRD, clang::ento::AnalysisManager &mgr, clang::ento::BugReporter &BR) const