ValueFlow: Improved debug output.

This commit is contained in:
Daniel Marjamäki 2021-01-01 18:08:03 +01:00
parent 4e4db50311
commit 3445a958d5
1 changed files with 2 additions and 2 deletions

View File

@ -1722,9 +1722,9 @@ void Token::printValueFlow(bool xml, std::ostream &out) const
if (value.isImpossible()) if (value.isImpossible())
out << "!"; out << "!";
if (value.bound == ValueFlow::Value::Bound::Lower) if (value.bound == ValueFlow::Value::Bound::Lower)
out << ">"; out << ">=";
if (value.bound == ValueFlow::Value::Bound::Upper) if (value.bound == ValueFlow::Value::Bound::Upper)
out << "<"; out << "<=";
switch (value.valueType) { switch (value.valueType) {
case ValueFlow::Value::INT: case ValueFlow::Value::INT:
if (tok->valueType() && tok->valueType()->sign == ValueType::UNSIGNED) if (tok->valueType() && tok->valueType()->sign == ValueType::UNSIGNED)