Moved CheckAutoVariables::autoVariables to normal checking

This commit is contained in:
Daniel Marjamäki 2019-03-09 16:53:43 +01:00
parent 38d5712aaa
commit 5a32d2d017
1 changed files with 4 additions and 2 deletions

View File

@ -54,11 +54,13 @@ public:
checkAutoVariables.assignFunctionArg();
checkAutoVariables.returnReference();
checkAutoVariables.checkVarLifetime();
checkAutoVariables.autoVariables();
}
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
CheckAutoVariables checkAutoVariables(tokenizer, settings, errorLogger);
checkAutoVariables.autoVariables();
(void)tokenizer;
(void)settings;
(void)errorLogger;
}
/** assign function argument */