aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SMTChecker.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-21 23:02:47 +0800
committerchriseth <chris@ethereum.org>2017-08-23 23:37:35 +0800
commitcf5e1d6120513c757bd5c71f1e3af972a9a63aeb (patch)
tree6910848eb79274896826e69a603e8a34fb5fadc3 /libsolidity/formal/SMTChecker.h
parent8853183d060104777b03921ccda1e9db600f0e8e (diff)
downloaddexon-solidity-cf5e1d6120513c757bd5c71f1e3af972a9a63aeb.tar.gz
dexon-solidity-cf5e1d6120513c757bd5c71f1e3af972a9a63aeb.tar.zst
dexon-solidity-cf5e1d6120513c757bd5c71f1e3af972a9a63aeb.zip
Review changes.
Diffstat (limited to 'libsolidity/formal/SMTChecker.h')
-rw-r--r--libsolidity/formal/SMTChecker.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libsolidity/formal/SMTChecker.h b/libsolidity/formal/SMTChecker.h
index d4935116..d23fd201 100644
--- a/libsolidity/formal/SMTChecker.h
+++ b/libsolidity/formal/SMTChecker.h
@@ -71,8 +71,8 @@ private:
void createVariable(VariableDeclaration const& _varDecl, bool _setToZero);
- std::string uniqueSymbol(Declaration const& _decl);
- std::string uniqueSymbol(Expression const& _expr);
+ static std::string uniqueSymbol(Declaration const& _decl);
+ static std::string uniqueSymbol(Expression const& _expr);
/// @returns true if _delc is a variable that is known at the current point, i.e.
/// has a valid sequence number
@@ -90,8 +90,8 @@ private:
/// Sets the value of the declaration either to zero or to its intrinsic range.
void setValue(Declaration const& _decl, bool _setToZero);
- smt::Expression minValue(IntegerType const& _t);
- smt::Expression maxValue(IntegerType const& _t);
+ static smt::Expression minValue(IntegerType const& _t);
+ static smt::Expression maxValue(IntegerType const& _t);
/// Returns the expression corresponding to the AST node. Creates a new expression
/// if it does not exist yet.
@@ -103,8 +103,8 @@ private:
std::shared_ptr<smt::SolverInterface> m_interface;
std::map<Declaration const*, int> m_currentSequenceCounter;
std::map<Declaration const*, int> m_nextFreeSequenceCounter;
- std::map<Expression const*, smt::Expression> m_z3Expressions;
- std::map<Declaration const*, smt::Expression> m_z3Variables;
+ std::map<Expression const*, smt::Expression> m_Expressions;
+ std::map<Declaration const*, smt::Expression> m_Variables;
ErrorReporter& m_errorReporter;
FunctionDefinition const* m_currentFunction = nullptr;