| 543 | } |
| 544 | |
| 545 | void CheckType::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const |
| 546 | { |
| 547 | CheckTypeImpl c(nullptr, settings, errorLogger); |
| 548 | c.tooBigBitwiseShiftError(nullptr, 32, ValueFlow::Value(64)); |
| 549 | c.tooBigSignedBitwiseShiftError(nullptr, 31, ValueFlow::Value(31)); |
| 550 | c.integerOverflowError(nullptr, ValueFlow::Value(1LL<<32)); |
| 551 | // TODO: integerOverflowCond |
| 552 | c.signConversionError(nullptr, nullptr, false); |
| 553 | // TODO: signConversionCond |
| 554 | c.longCastAssignError(nullptr); |
| 555 | c.longCastReturnError(nullptr); |
| 556 | ValueFlow::Value f; |
| 557 | f.valueType = ValueFlow::Value::ValueType::FLOAT; |
| 558 | f.floatValue = 1E100; |
| 559 | c.floatToIntegerOverflowError(nullptr, f); |
| 560 | } |
nothing calls this directly
no test coverage detected