astyle formatting
This commit is contained in:
parent
6ab3c93fb1
commit
18c29544eb
|
@ -4152,10 +4152,14 @@ static void valueFlowAfterAssign(TokenList *tokenlist, SymbolDatabase* symboldat
|
|||
types.insert(value.valueType);
|
||||
}
|
||||
}
|
||||
values.remove_if([&](const ValueFlow::Value& value) { return types.count(value.valueType) > 0;});
|
||||
values.remove_if([&](const ValueFlow::Value& value) {
|
||||
return types.count(value.valueType) > 0;
|
||||
});
|
||||
// Remove container size if its not a container
|
||||
if (!astIsContainer(tok->astOperand2()))
|
||||
values.remove_if([&](const ValueFlow::Value& value) { return value.valueType == ValueFlow::Value::CONTAINER_SIZE;});
|
||||
values.remove_if([&](const ValueFlow::Value& value) {
|
||||
return value.valueType == ValueFlow::Value::CONTAINER_SIZE;
|
||||
});
|
||||
if (values.empty())
|
||||
continue;
|
||||
const bool constValue = isLiteralNumber(tok->astOperand2(), tokenlist->isCPP());
|
||||
|
|
Loading…
Reference in New Issue