We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48b66db commit 73a4900Copy full SHA for 73a4900
lib/checkcondition.cpp
@@ -1653,7 +1653,7 @@ static std::string getConditionString(const Token* condition)
1653
{
1654
if (Token::simpleMatch(condition, "return"))
1655
return "Return value";
1656
- if (Token::simpleMatch(condition, "(") && Token::Match(condition->astParent(), "%assign"))
+ if (Token::simpleMatch(condition, "(") && Token::Match(condition->astParent(), "%assign%"))
1657
return "Assigned value";
1658
return "Condition";
1659
}
0 commit comments