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> 17 class StaticLocalChecker :
public clang::ento::Checker<clang::ento::check::ASTDecl<clang::VarDecl> > {
21 void checkASTDecl(
const clang::VarDecl *
D, clang::ento::AnalysisManager &Mgr, clang::ento::BugReporter &BR)
const;
DecomposeProduct< arg, typename Div::arg > D
std::unique_ptr< clang::ento::BugType > BT
void checkASTDecl(const clang::VarDecl *D, clang::ento::AnalysisManager &Mgr, clang::ento::BugReporter &BR) const