CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TrunCastChecker.h
Go to the documentation of this file.
1 #ifndef Utilities_StaticAnalyzers_CastSizeChecker_h
2 #define Utilities_StaticAnalyzers_CastSizeChecker_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 #include "CmsException.h"
8 
9 namespace clangcms {
10 
11  class TrunCastChecker : public clang::ento::Checker<clang::ento::check::ASTDecl<clang::CXXRecordDecl> > {
12  public:
13  void checkASTDecl(const clang::CXXRecordDecl *D,
14  clang::ento::AnalysisManager &Mgr,
15  clang::ento::BugReporter &BR) const;
16 
17  private:
19  };
20 
21 } // namespace clangcms
22 
23 #endif
DecomposeProduct< arg, typename Div::arg > D
Definition: Factorize.h:141
void checkASTDecl(const clang::CXXRecordDecl *D, clang::ento::AnalysisManager &Mgr, clang::ento::BugReporter &BR) const