aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SSAVariable.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/formal/SSAVariable.h')
-rw-r--r--libsolidity/formal/SSAVariable.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libsolidity/formal/SSAVariable.h b/libsolidity/formal/SSAVariable.h
index d283ad9e..7e2ebc8c 100644
--- a/libsolidity/formal/SSAVariable.h
+++ b/libsolidity/formal/SSAVariable.h
@@ -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