diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-11-21 22:13:50 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-11-21 22:46:47 +0800 |
commit | 01ce43e51ba8ced7f2e53f5e9f9e0ea6b718df64 (patch) | |
tree | b84619e480c5f88cc1f3c57b8b738845e32093d8 /libsolidity/formal/Z3Interface.h | |
parent | d3f66ca0fab130e801b012bd192e1e8e97fb3761 (diff) | |
download | dexon-solidity-01ce43e51ba8ced7f2e53f5e9f9e0ea6b718df64.tar dexon-solidity-01ce43e51ba8ced7f2e53f5e9f9e0ea6b718df64.tar.gz dexon-solidity-01ce43e51ba8ced7f2e53f5e9f9e0ea6b718df64.tar.bz2 dexon-solidity-01ce43e51ba8ced7f2e53f5e9f9e0ea6b718df64.tar.lz dexon-solidity-01ce43e51ba8ced7f2e53f5e9f9e0ea6b718df64.tar.xz dexon-solidity-01ce43e51ba8ced7f2e53f5e9f9e0ea6b718df64.tar.zst dexon-solidity-01ce43e51ba8ced7f2e53f5e9f9e0ea6b718df64.zip |
[SMTChecker] Refactor smt::Sort and its usage
Diffstat (limited to 'libsolidity/formal/Z3Interface.h')
-rw-r--r-- | libsolidity/formal/Z3Interface.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/formal/Z3Interface.h b/libsolidity/formal/Z3Interface.h index 5eae618e..8c1fcf61 100644 --- a/libsolidity/formal/Z3Interface.h +++ b/libsolidity/formal/Z3Interface.h @@ -40,7 +40,7 @@ public: void push() override; void pop() override; - void declareFunction(std::string _name, std::vector<Sort> const& _domain, Sort _codomain) override; + void declareFunction(std::string _name, std::vector<SortPointer> const& _domain, Sort const& _codomain) override; void declareInteger(std::string _name) override; void declareBool(std::string _name) override; @@ -49,8 +49,8 @@ public: private: z3::expr toZ3Expr(Expression const& _expr); - z3::sort z3Sort(smt::Sort _sort); - z3::sort_vector z3Sort(std::vector<smt::Sort> const& _sort); + z3::sort z3Sort(smt::Sort const& _sort); + z3::sort_vector z3Sort(std::vector<smt::SortPointer> const& _sorts); z3::context m_context; z3::solver m_solver; |