mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker_Bool] Fix PR comments; Add support to gt, ge, lt, le. and tests.
This commit is contained in:
@@ -37,7 +37,7 @@ public:
|
||||
/// @param _decl Used to determine the type and forwarded to the symbolic var.
|
||||
/// @param _interface Forwarded to the symbolic var such that it can give constraints to the solver.
|
||||
SSAVariable(
|
||||
Declaration const* _decl,
|
||||
Declaration const& _decl,
|
||||
smt::SolverInterface& _interface
|
||||
);
|
||||
|
||||
@@ -69,7 +69,9 @@ public:
|
||||
void setUnknownValue();
|
||||
|
||||
/// So far Int and Bool are supported.
|
||||
static bool supportedType(Type const* _decl);
|
||||
static bool supportedType(Type::Category _category);
|
||||
static bool typeInteger(Type::Category _category);
|
||||
static bool typeBool(Type::Category _category);
|
||||
|
||||
private:
|
||||
smt::Expression valueAtSequence(int _seq) const
|
||||
|
||||
Reference in New Issue
Block a user