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