CMS 3D CMS Logo

ArgSizeChecker.h
Go to the documentation of this file.
1 #ifndef Utilities_StaticAnalyzers_ArgSizeChecker_h
2 #define Utilities_StaticAnalyzers_ArgSizeChecker_h
3 
4 #include <clang/StaticAnalyzer/Core/Checker.h>
5 #include <clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h>
6 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h>
7 
8 #include "CmsException.h"
9 
10 namespace clangcms {
11  class ArgSizeChecker : public clang::ento::Checker<clang::ento::check::PreStmt<clang::CXXConstructExpr>,
12  clang::ento::check::ASTDecl<clang::CXXMethodDecl> > {
13  public:
14  void checkPreStmt(const clang::CXXConstructExpr *ref, clang::ento::CheckerContext &C) const;
15  void checkASTDecl(const clang::CXXMethodDecl *CMD,
16  clang::ento::AnalysisManager &mgr,
17  clang::ento::BugReporter &BR) const;
18  };
19 } // namespace clangcms
20 
21 #endif
clangcms::ArgSizeChecker::checkASTDecl
void checkASTDecl(const clang::CXXMethodDecl *CMD, clang::ento::AnalysisManager &mgr, clang::ento::BugReporter &BR) const
clangcms
Definition: ArgSizeChecker.h:10
CmsException.h
clangcms::ArgSizeChecker::checkPreStmt
void checkPreStmt(const clang::CXXConstructExpr *ref, clang::ento::CheckerContext &C) const
gen::C
C
Definition: PomwigHadronizer.cc:78
clangcms::ArgSizeChecker
Definition: ArgSizeChecker.h:11