CheckBool: Use normal checking

This commit is contained in:
Daniel Marjamäki 2019-03-09 19:16:07 +01:00
parent ac42382cd9
commit 5a42c54d0f
1 changed files with 7 additions and 7 deletions

View File

@ -59,13 +59,6 @@ public:
checkBool.checkAssignBoolToFloat();
checkBool.pointerArithBool();
checkBool.returnValueOfFunctionReturningBool();
}
/** @brief Run checks against the simplified token list */
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
CheckBool checkBool(tokenizer, settings, errorLogger);
// Checks
checkBool.checkComparisonOfFuncReturningBool();
checkBool.checkComparisonOfBoolWithBool();
checkBool.checkIncrementBoolean();
@ -73,6 +66,13 @@ public:
checkBool.checkBitwiseOnBoolean();
}
/** @brief Run checks against the simplified token list */
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
(void)tokenizer;
(void)settings;
(void)errorLogger;
}
/** @brief %Check for comparison of function returning bool*/
void checkComparisonOfFuncReturningBool();