diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-11-22 17:48:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-22 17:48:23 +0800 |
commit | 60fbc32fdfa4657edd3ebb047b7f65626ac3baba (patch) | |
tree | e8dd0af844116a71629f7e43e7414d3596d93962 /libsolidity/formal/SMTPortfolio.h | |
parent | dc748bc7712257b4e027a7f99d86737dd9f93ecd (diff) | |
parent | 13a142b0395ec6a590f45c724e382e797bffb125 (diff) | |
download | dexon-solidity-60fbc32fdfa4657edd3ebb047b7f65626ac3baba.tar dexon-solidity-60fbc32fdfa4657edd3ebb047b7f65626ac3baba.tar.gz dexon-solidity-60fbc32fdfa4657edd3ebb047b7f65626ac3baba.tar.bz2 dexon-solidity-60fbc32fdfa4657edd3ebb047b7f65626ac3baba.tar.lz dexon-solidity-60fbc32fdfa4657edd3ebb047b7f65626ac3baba.tar.xz dexon-solidity-60fbc32fdfa4657edd3ebb047b7f65626ac3baba.tar.zst dexon-solidity-60fbc32fdfa4657edd3ebb047b7f65626ac3baba.zip |
Merge pull request #5471 from ethereum/smt_refactor_sort_patch2
Add FunctionSort and refactors the solver interface to create variables
Diffstat (limited to 'libsolidity/formal/SMTPortfolio.h')
-rw-r--r-- | libsolidity/formal/SMTPortfolio.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libsolidity/formal/SMTPortfolio.h b/libsolidity/formal/SMTPortfolio.h index 712fb545..12e2be66 100644 --- a/libsolidity/formal/SMTPortfolio.h +++ b/libsolidity/formal/SMTPortfolio.h @@ -49,9 +49,7 @@ public: void push() override; void pop() 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; + void declareVariable(std::string const&, Sort const&) override; void addAssertion(Expression const& _expr) override; std::pair<CheckResult, std::vector<std::string>> check(std::vector<Expression> const& _expressionsToEvaluate) override; |