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

Method runChecks

lib/checkstring.cpp:474–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474void CheckString::runChecks(const Tokenizer &tokenizer, ErrorLogger& errorLogger)
475{
476 CheckStringImpl checkString(&tokenizer, tokenizer.getSettings(), errorLogger);
477
478 // Checks
479 checkString.strPlusChar();
480 checkString.checkSuspiciousStringCompare();
481 checkString.stringLiteralWrite();
482 checkString.overlappingStrcmp();
483 checkString.checkIncorrectStringCompare();
484 checkString.sprintfOverlappingData();
485 checkString.checkAlwaysTrueOrFalseStringCompare();
486}
487
488void CheckString::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const
489{

Callers

nothing calls this directly

Tested by

no test coverage detected