CheckBool: Use normal checking
This commit is contained in:
parent
ac42382cd9
commit
5a42c54d0f
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue