Running astyle [ci skip]
This commit is contained in:
parent
84ea0a2295
commit
c14bb9cd2e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue