7 #ifndef Utilities_StaticAnalyzers_MutableMemberChecker_h
8 #define Utilities_StaticAnalyzers_MutableMemberChecker_h
10 #include <clang/StaticAnalyzer/Core/Checker.h>
11 #include <clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h>
12 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h>
18 class MutableMemberChecker :
public clang::ento::Checker< clang::ento::check::ASTDecl< clang::FieldDecl> > {
19 mutable clang::OwningPtr< clang::ento::BuiltinBug>
BT;
23 clang::ento::AnalysisManager &Mgr,
24 clang::ento::BugReporter &BR)
const;
clang::OwningPtr< clang::ento::BuiltinBug > BT
void checkASTDecl(const clang::FieldDecl *D, clang::ento::AnalysisManager &Mgr, clang::ento::BugReporter &BR) const
DecomposeProduct< arg, typename Div::arg > D