CMS 3D CMS Logo

FiniteMathChecker.h
Go to the documentation of this file.
1 #ifndef Utilities_StaticAnalyzers_FastMathChecker_h
2 #define Utilities_StaticAnalyzers_FastMathChecker_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>
8 #include "CmsException.h"
9 
10 namespace clangcms {
11  class FiniteMathChecker : public clang::ento::Checker<clang::ento::check::PreStmt<clang::CallExpr> > {
12  CMS_SA_ALLOW mutable std::unique_ptr<clang::ento::BugType> BT;
13 
14  public:
15  void checkPreStmt(const clang::CallExpr *ref, clang::ento::CheckerContext &C) const;
16  };
17 } // namespace clangcms
18 
19 #endif
clangcms
Definition: ArgSizeChecker.h:10
CMS_SA_ALLOW
#define CMS_SA_ALLOW
Definition: thread_safety_macros.h:5
clangcms::FiniteMathChecker::BT
std::unique_ptr< clang::ento::BugType > BT
Definition: FiniteMathChecker.h:12
clangcms::FiniteMathChecker::checkPreStmt
void checkPreStmt(const clang::CallExpr *ref, clang::ento::CheckerContext &C) const
Definition: FiniteMathChecker.cc:14
thread_safety_macros.h
clangcms::FiniteMathChecker
Definition: FiniteMathChecker.h:11
CmsException.h
gen::C
C
Definition: PomwigHadronizer.cc:76