6 #ifndef Utilities_StaticAnalyzers_GlobalStaticChecker_h
7 #define Utilities_StaticAnalyzers_GlobalStaticChecker_h
9 #include <clang/StaticAnalyzer/Core/Checker.h>
10 #include <clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h>
11 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h>
17 class GlobalStaticChecker :
public clang::ento::Checker< clang::ento::check::ASTDecl< clang::VarDecl> > {
18 mutable clang::OwningPtr< clang::ento::BuiltinBug>
BT;
22 clang::ento::AnalysisManager &Mgr,
23 clang::ento::BugReporter &BR)
const;
void checkASTDecl(const clang::VarDecl *D, clang::ento::AnalysisManager &Mgr, clang::ento::BugReporter &BR) const
clang::OwningPtr< clang::ento::BuiltinBug > BT
DecomposeProduct< arg, typename Div::arg > D