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

Method runChecks

lib/checkautovariables.cpp:820–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

818}
819
820void CheckAutoVariables::runChecks(const Tokenizer &tokenizer, ErrorLogger& errorLogger)
821{
822 CheckAutoVariablesImpl checkAutoVariables(&tokenizer, tokenizer.getSettings(), errorLogger);
823 checkAutoVariables.assignFunctionArg();
824 checkAutoVariables.autoVariables();
825 checkAutoVariables.checkVarLifetime();
826}
827
828void CheckAutoVariables::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const
829{

Callers

nothing calls this directly

Calls 3

assignFunctionArgMethod · 0.80
autoVariablesMethod · 0.80
checkVarLifetimeMethod · 0.80

Tested by

no test coverage detected