Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:50

0001 #ifndef Utilities_StaticAnalyzers_edmChecker_h
0002 #define Utilities_StaticAnalyzers_edmChecker_h
0003 #include <clang/AST/DeclCXX.h>
0004 #include <clang/AST/Decl.h>
0005 #include <clang/AST/DeclTemplate.h>
0006 #include <clang/AST/StmtVisitor.h>
0007 #include <clang/AST/ParentMap.h>
0008 #include <clang/Analysis/CFGStmtMap.h>
0009 #include <llvm/Support/SaveAndRestore.h>
0010 #include <clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h>
0011 #include <clang/StaticAnalyzer/Core/Checker.h>
0012 #include <clang/StaticAnalyzer/Core/BugReporter/BugReporter.h>
0013 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h>
0014 #include <llvm/ADT/SmallString.h>
0015 
0016 #include "CmsException.h"
0017 #include "CmsSupport.h"
0018 
0019 namespace clangcms {
0020 
0021   class edmChecker : public clang::ento::Checker<clang::ento::check::ASTDecl<clang::CXXRecordDecl> > {
0022   public:
0023     void checkASTDecl(const clang::CXXRecordDecl *CRD,
0024                       clang::ento::AnalysisManager &mgr,
0025                       clang::ento::BugReporter &BR) const;
0026 
0027   private:
0028     CmsException m_exception;
0029   };
0030 
0031 }  // namespace clangcms
0032 #endif