CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ClassChecker.h
Go to the documentation of this file.
1 #ifndef Utilities_StaticAnalyzers_MemberChecker_h
2 #define Utilities_StaticAnalyzers_MemberChecker_h
3 #include <clang/StaticAnalyzer/Core/Checker.h>
4 #include <clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h>
5 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h>
6 
7 #include "CmsException.h"
8 #include "CmsSupport.h"
9 
10 namespace clangcms {
11 
12 class ClassChecker : public clang::ento::Checker<clang::ento::check::ASTDecl<clang::CXXRecordDecl> > {
13  mutable clang::OwningPtr< clang::ento::BugType> BT;
14 
15 
16 public:
17  void checkASTDecl(const clang::CXXRecordDecl *CRD, clang::ento::AnalysisManager& mgr,
18  clang::ento::BugReporter &BR) const ;
19 
20 private:
22 };
23 
24 }
25 #endif
clang::OwningPtr< clang::ento::BugType > BT
Definition: ClassChecker.h:13
void checkASTDecl(const clang::CXXRecordDecl *CRD, clang::ento::AnalysisManager &mgr, clang::ento::BugReporter &BR) const
CmsException m_exception
Definition: ClassChecker.h:21