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.checkAssignBoolToFloat();
checkBool.pointerArithBool(); checkBool.pointerArithBool();
checkBool.returnValueOfFunctionReturningBool(); 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.checkComparisonOfFuncReturningBool();
checkBool.checkComparisonOfBoolWithBool(); checkBool.checkComparisonOfBoolWithBool();
checkBool.checkIncrementBoolean(); checkBool.checkIncrementBoolean();
@ -73,6 +66,13 @@ public:
checkBool.checkBitwiseOnBoolean(); 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*/ /** @brief %Check for comparison of function returning bool*/
void checkComparisonOfFuncReturningBool(); void checkComparisonOfFuncReturningBool();