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> 11 class TrunCastChecker :
public clang::ento::Checker<clang::ento::check::ASTDecl<clang::CXXRecordDecl> > {
14 clang::ento::AnalysisManager &Mgr,
15 clang::ento::BugReporter &BR)
const;
DecomposeProduct< arg, typename Div::arg > D
void checkASTDecl(const clang::CXXRecordDecl *D, clang::ento::AnalysisManager &Mgr, clang::ento::BugReporter &BR) const