| 513 | } |
| 514 | |
| 515 | void CheckBool::runChecks(const Tokenizer &tokenizer, ErrorLogger& errorLogger) |
| 516 | { |
| 517 | CheckBoolImpl checkBool(&tokenizer, tokenizer.getSettings(), errorLogger); |
| 518 | |
| 519 | // Checks |
| 520 | checkBool.checkComparisonOfBoolExpressionWithInt(); |
| 521 | checkBool.checkComparisonOfBoolWithInt(); |
| 522 | checkBool.checkAssignBoolToFloat(); |
| 523 | checkBool.pointerArithBool(); |
| 524 | checkBool.returnValueOfFunctionReturningBool(); |
| 525 | checkBool.checkComparisonOfFuncReturningBool(); |
| 526 | checkBool.checkComparisonOfBoolWithBool(); |
| 527 | checkBool.checkIncrementBoolean(); |
| 528 | checkBool.checkAssignBoolToPointer(); |
| 529 | checkBool.checkBitwiseOnBoolean(); |
| 530 | } |
| 531 | |
| 532 | void CheckBool::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const |
| 533 | { |
nothing calls this directly
no test coverage detected