Merge pull request #5568 from ethereum/smt_remove_unary_plus

[SMTChecker] Remove unary plus operator
This commit is contained in:
chriseth
2018-12-03 11:19:34 +01:00
committed by GitHub
-3
View File
@@ -323,9 +323,6 @@ void SMTChecker::endVisit(UnaryOperation const& _op)
);
break;
}
case Token::Add: // +
defineExpr(_op, expr(_op.subExpression()));
break;
case Token::Sub: // -
{
defineExpr(_op, 0 - expr(_op.subExpression()));