/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Utilities/StaticAnalyzers/src/TrunCastChecker.h
23 строки
696 B
Patrick Gartung
Add use FWCore/Utilities source_only=1 to Buildfile.xml, remove commmented out code
20 дек 2022, 06:04
20 дек 2022, 06:04
5b712bc
Код
Авторство
О чём код?
#ifndef Utilities_StaticAnalyzers_CastSizeChecker_h #define Utilities_StaticAnalyzers_CastSizeChecker_h #include <clang/StaticAnalyzer/Core/Checker.h> #include <clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h> #include <clang/StaticAnalyzer/Core/BugReporter/BugType.h> #include "CmsException.h" namespace clangcms { class TrunCastChecker : public clang::ento::Checker<clang::ento::check::ASTDecl<clang::CXXRecordDecl> > { public: void checkASTDecl(const clang::CXXRecordDecl *D, clang::ento::AnalysisManager &Mgr, clang::ento::BugReporter &BR) const; private: CmsException m_exception; }; } // namespace clangcms #endif