ExprEngine: Disable integerOverflow check

This commit is contained in:
Daniel Marjamäki 2019-09-27 15:07:56 +02:00
parent 7ea8b69235
commit f7a8075001
1 changed files with 3 additions and 0 deletions

View File

@ -1108,6 +1108,9 @@ void ExprEngine::runChecks(ErrorLogger *errorLogger, const Tokenizer *tokenizer,
};
std::function<void(const Token *, const ExprEngine::Value &)> integerOverflow = [&](const Token *tok, const ExprEngine::Value &value) {
// Disable this check.. it's very noisy
return;
if (!tok->isArithmeticalOp() || !tok->valueType() || !tok->valueType()->isIntegral() || tok->valueType()->pointer > 0)
return;