1 #ifndef Utilities_StaticAnalyzers_CastSizeChecker_h
2 #define Utilities_StaticAnalyzers_CastSizeChecker_h
4 #include <clang/StaticAnalyzer/Core/Checker.h>
5 #include <clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h>
6 #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h>
12 class TrunCastChecker :
public clang::ento::Checker<clang::ento::check::ASTDecl<clang::CXXRecordDecl> > {
16 clang::ento::AnalysisManager &Mgr,
17 clang::ento::BugReporter &BR)
const;
DecomposeProduct< arg, typename Div::arg > D
std::unique_ptr< clang::ento::BugType > BT
void checkASTDecl(const clang::CXXRecordDecl *D, clang::ento::AnalysisManager &Mgr, clang::ento::BugReporter &BR) const