parent
cac68c6b81
commit
f2bb7397b3
|
@ -365,7 +365,7 @@ bool isOppositeExpression(bool cpp, const Token * const tok1, const Token * cons
|
||||||
return false;
|
return false;
|
||||||
if (isOppositeCond(true, cpp, tok1, tok2, library, pure))
|
if (isOppositeCond(true, cpp, tok1, tok2, library, pure))
|
||||||
return true;
|
return true;
|
||||||
if (tok1->str() == "-" && !tok1->astOperand2())
|
if (tok1->str() == "-" && !tok1->astOperand2())
|
||||||
return isSameExpression(cpp, true, tok1->astOperand1(), tok2, library, pure);
|
return isSameExpression(cpp, true, tok1->astOperand1(), tok2, library, pure);
|
||||||
if (tok2->str() == "-" && !tok1->astOperand2())
|
if (tok2->str() == "-" && !tok1->astOperand2())
|
||||||
return isSameExpression(cpp, true, tok2->astOperand1(), tok1, library, pure);
|
return isSameExpression(cpp, true, tok2->astOperand1(), tok1, library, pure);
|
||||||
|
|
Loading…
Reference in New Issue