Go to the documentation of this file.00001 #ifndef Utilities_StaticAnalyzers_FastMathChecker_h
00002 #define Utilities_StaticAnalyzers_FastMathChecker_h
00003
00004 #include <clang/StaticAnalyzer/Core/Checker.h>
00005 #include <clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h>
00006 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h>
00007
00008 #include "CmsException.h"
00009
00010 namespace clangcms {
00011 class FiniteMathChecker : public clang::ento::Checker<clang::ento::check::PreStmt<clang::CallExpr> > {
00012 mutable llvm::OwningPtr<clang::ento::BugType> BT;
00013 public:
00014 void checkPreStmt(const clang::CallExpr *ref, clang::ento::CheckerContext &C) const;
00015 };
00016 }
00017
00018 #endif