Running astyle [ci skip]

This commit is contained in:
orbitcowboy 2021-07-26 16:32:00 +02:00
parent 84ea0a2295
commit c14bb9cd2e
3 changed files with 7 additions and 5 deletions

View File

@ -465,7 +465,8 @@ static PMEvaluateFunction evaluateAsInt(PMEvaluateFunction f, ValueFlow::Value::
const ValueFlow::Value* value = expr->getKnownValue(t); const ValueFlow::Value* value = expr->getKnownValue(t);
if (!value) if (!value)
value = programMemory->getValue(expr->exprId()); value = programMemory->getValue(expr->exprId());
if (value && value->valueType == t) { if (value && value->valueType == t)
{
*result = value->intvalue; *result = value->intvalue;
return true; return true;
} }

View File

@ -1394,7 +1394,8 @@ private:
} }
void iterator27() void iterator27()
{ // #10378 {
// #10378
check("struct A {\n" check("struct A {\n"
" int a;\n" " int a;\n"
" int b;\n" " int b;\n"