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

Method runChecks

lib/checkunusedvar.cpp:1728–1735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1726}
1727
1728void CheckUnusedVar::runChecks(const Tokenizer &tokenizer, ErrorLogger& errorLogger)
1729{
1730 CheckUnusedVarImpl checkUnusedVar(&tokenizer, tokenizer.getSettings(), errorLogger);
1731
1732 // Coding style checks
1733 checkUnusedVar.checkStructMemberUsage();
1734 checkUnusedVar.checkFunctionVariableUsage();
1735}
1736
1737void CheckUnusedVar::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const
1738{

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected