From ddefe62c12f8a298a6bf9cb14d5e74104e85f2df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 11 Sep 2013 15:49:40 +0200 Subject: [PATCH] astyle formatting --- lib/checkbool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkbool.cpp b/lib/checkbool.cpp index 718258bc4..1009cd032 100644 --- a/lib/checkbool.cpp +++ b/lib/checkbool.cpp @@ -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())) {