[SMTChecker_Bool] Fix PR comments; Add support to gt, ge, lt, le. and tests.

This commit is contained in:
Leonardo Alt
2018-03-12 20:16:47 +01:00
parent 6a940f0a99
commit c2d26eb6a2
11 changed files with 125 additions and 41 deletions
+4 -2
View File
@@ -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