7 #ifndef Utilities_StaticAnalyzers_StaticLocalChecker_h 8 #define Utilities_StaticAnalyzers_StaticLocalChecker_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 StaticLocalChecker :
public clang::ento::Checker< clang::ento::check::ASTDecl< clang::VarDecl> > {
23 clang::ento::AnalysisManager &Mgr,
24 clang::ento::BugReporter &BR)
const;
std::unique_ptr< clang::ento::BuiltinBug > BT
void checkASTDecl(const clang::VarDecl *D, clang::ento::AnalysisManager &Mgr, clang::ento::BugReporter &BR) const
DecomposeProduct< arg, typename Div::arg > D