CMS 3D CMS Logo

edmChecker.h
Go to the documentation of this file.
1 #ifndef Utilities_StaticAnalyzers_edmChecker_h
2 #define Utilities_StaticAnalyzers_edmChecker_h
3 #include <clang/AST/DeclCXX.h>
4 #include <clang/AST/Decl.h>
5 #include <clang/AST/DeclTemplate.h>
6 #include <clang/AST/StmtVisitor.h>
7 #include <clang/AST/ParentMap.h>
8 #include <clang/Analysis/CFGStmtMap.h>
9 #include <llvm/Support/SaveAndRestore.h>
10 #include <clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h>
11 #include <clang/StaticAnalyzer/Core/Checker.h>
12 #include <clang/StaticAnalyzer/Core/BugReporter/BugReporter.h>
13 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h>
14 #include <llvm/ADT/SmallString.h>
15 
16 #include "CmsException.h"
17 #include "CmsSupport.h"
18 
19 namespace clangcms {
20 
21  class edmChecker : public clang::ento::Checker<clang::ento::check::ASTDecl<clang::CXXRecordDecl> > {
22  public:
23  void checkASTDecl(const clang::CXXRecordDecl *CRD,
24  clang::ento::AnalysisManager &mgr,
25  clang::ento::BugReporter &BR) const;
26 
27  private:
29  };
30 
31 } // namespace clangcms
32 #endif
void checkASTDecl(const clang::CXXRecordDecl *CRD, clang::ento::AnalysisManager &mgr, clang::ento::BugReporter &BR) const
CmsException m_exception
Definition: edmChecker.h:28