MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / runChecks

Method runChecks

lib/checktype.cpp:534–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534void CheckType::runChecks(const Tokenizer &tokenizer, ErrorLogger& errorLogger)
535{
536 // These are not "simplified" because casts can't be ignored
537 CheckTypeImpl checkType(&tokenizer, tokenizer.getSettings(), errorLogger);
538 checkType.checkTooBigBitwiseShift();
539 checkType.checkIntegerOverflow();
540 checkType.checkSignConversion();
541 checkType.checkLongCast();
542 checkType.checkFloatToIntegerOverflow();
543}
544
545void CheckType::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const
546{

Callers

nothing calls this directly

Calls 5

checkSignConversionMethod · 0.80
checkLongCastMethod · 0.80
checkIntegerOverflowMethod · 0.45

Tested by

no test coverage detected