aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SymbolicIntVariable.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/formal/SymbolicIntVariable.h')
-rw-r--r--libsolidity/formal/SymbolicIntVariable.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libsolidity/formal/SymbolicIntVariable.h b/libsolidity/formal/SymbolicIntVariable.h
index efe05af8..0066bb75 100644
--- a/libsolidity/formal/SymbolicIntVariable.h
+++ b/libsolidity/formal/SymbolicIntVariable.h
@@ -39,12 +39,13 @@ public:
SymbolicIntVariable& operator=(SymbolicIntVariable const&) = default;
SymbolicIntVariable& operator=(SymbolicIntVariable&&) = default;
+ /// Sets the var to 0.
void setZeroValue(int _seq);
+ /// Sets the valid interval for the var.
void setUnknownValue(int _seq);
-private:
- smt::Expression minValue(IntegerType const& _t) const;
- smt::Expression maxValue(IntegerType const& _t) const;
+ static smt::Expression minValue(IntegerType const& _t);
+ static smt::Expression maxValue(IntegerType const& _t);
};
}