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
commit 5897b14d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,9 +323,6 @@ void SMTChecker::endVisit(UnaryOperation const& _op)
); );
break; break;
} }
case Token::Add: // +
defineExpr(_op, expr(_op.subExpression()));
break;
case Token::Sub: // - case Token::Sub: // -
{ {
defineExpr(_op, 0 - expr(_op.subExpression())); defineExpr(_op, 0 - expr(_op.subExpression()));