CMS 3D CMS Logo

getParamDumper.h
Go to the documentation of this file.
1 #ifndef Utilities_StaticAnalyzers_getParamDumper_h
2 #define Utilities_StaticAnalyzers_getParamDumper_h
3 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h>
4 #include <clang/StaticAnalyzer/Core/Checker.h>
5 #include <clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h>
6 
7 namespace clangcms {
8 
10  : public clang::ento::Checker<clang::ento::check::ASTDecl<clang::CXXRecordDecl>, clang::ento::eval::Call> {
11  void analyzerEval(const clang::CallExpr *CE, clang::ento::CheckerContext &C) const;
12 
13  typedef void (getParamDumper::*FnCheck)(const clang::CallExpr *, clang::ento::CheckerContext &C) const;
14 
15  public:
16  bool evalCall(const clang::CallExpr *CE, clang::ento::CheckerContext &C) const;
17 
18  void checkASTDecl(const clang::CXXRecordDecl *CRD,
19  clang::ento::AnalysisManager &mgr,
20  clang::ento::BugReporter &BR) const;
21  };
22 
23 } // namespace clangcms
24 #endif
clangcms::getParamDumper
Definition: getParamDumper.h:9
clangcms::getParamDumper::FnCheck
void(getParamDumper::* FnCheck)(const clang::CallExpr *, clang::ento::CheckerContext &C) const
Definition: getParamDumper.h:13
clangcms
Definition: ArgSizeChecker.h:10
clangcms::getParamDumper::checkASTDecl
void checkASTDecl(const clang::CXXRecordDecl *CRD, clang::ento::AnalysisManager &mgr, clang::ento::BugReporter &BR) const
clangcms::getParamDumper::analyzerEval
void analyzerEval(const clang::CallExpr *CE, clang::ento::CheckerContext &C) const
clangcms::getParamDumper::evalCall
bool evalCall(const clang::CallExpr *CE, clang::ento::CheckerContext &C) const
gen::C
C
Definition: PomwigHadronizer.cc:78
funct::void
TEMPL(T2) struct Divides void
Definition: Factorize.h:24