astyle formatting
This commit is contained in:
parent
0439f25bbd
commit
ddefe62c12
|
@ -410,7 +410,7 @@ void CheckBool::checkComparisonOfBoolExpressionWithInt()
|
|||
break;
|
||||
}
|
||||
if (Token::Match(lhs,"<|<=|>|>=")) {
|
||||
if (_tokenizer->isCPP() && tok->str() == ">" &&
|
||||
if (_tokenizer->isCPP() && tok->str() == ">" &&
|
||||
(Token::Match(lhs->previous(), "%var% <") || lhs->str() == ">"))
|
||||
continue;
|
||||
while (NULL != (lhs = lhs->previous())) {
|
||||
|
|
Loading…
Reference in New Issue