ValueFlow: Attempt to make --debug output easier to understand by using words
This commit is contained in:
parent
bc28b252bf
commit
ae124cb365
|
@ -1312,7 +1312,7 @@ void Token::printValueFlow(bool xml, std::ostream &out) const
|
||||||
out << "Line " << tok->linenr() << std::endl;
|
out << "Line " << tok->linenr() << std::endl;
|
||||||
line = tok->linenr();
|
line = tok->linenr();
|
||||||
if (!xml) {
|
if (!xml) {
|
||||||
out << " " << tok->str() << ' ' << (tok->values.front().isKnown() ? "= " : ": ");
|
out << " " << tok->str() << (tok->values.front().isKnown() ? " always " : " possible ");
|
||||||
if (tok->values.size() > 1U)
|
if (tok->values.size() > 1U)
|
||||||
out << '{';
|
out << '{';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue