diff options
author | chriseth <chris@ethereum.org> | 2017-10-13 23:57:58 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-11-23 16:43:49 +0800 |
commit | 54bed454f6e7a53f51ec7e9bda7805900a2c8472 (patch) | |
tree | 87be069348deaac4cc526f227466adadec1d94de /libsolidity/interface/CompilerStack.h | |
parent | bb10be789c269927e593b41d37aa0637db68bbe1 (diff) | |
download | dexon-solidity-54bed454f6e7a53f51ec7e9bda7805900a2c8472.tar dexon-solidity-54bed454f6e7a53f51ec7e9bda7805900a2c8472.tar.gz dexon-solidity-54bed454f6e7a53f51ec7e9bda7805900a2c8472.tar.bz2 dexon-solidity-54bed454f6e7a53f51ec7e9bda7805900a2c8472.tar.lz dexon-solidity-54bed454f6e7a53f51ec7e9bda7805900a2c8472.tar.xz dexon-solidity-54bed454f6e7a53f51ec7e9bda7805900a2c8472.tar.zst dexon-solidity-54bed454f6e7a53f51ec7e9bda7805900a2c8472.zip |
Rename function and warn if responses are supplied for Z3.
Diffstat (limited to 'libsolidity/interface/CompilerStack.h')
-rw-r--r-- | libsolidity/interface/CompilerStack.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h index 3fceed24..2c7add3b 100644 --- a/libsolidity/interface/CompilerStack.h +++ b/libsolidity/interface/CompilerStack.h @@ -156,10 +156,6 @@ public: /// Adds a response to an SMTLib2 query (identified by the hash of the query input). void addSMTLib2Response(h256 const& _hash, std::string const& _response) { m_smtlib2Responses[_hash] = _response; } - /// @returns a list of unhandled queries to the SMT solver (has to be supplied in a second run - /// by calling @a addSMTLib2Response. - std::vector<std::string> const& unhandledSMTQueries() const { return m_unhandledSMTLib2Queries; } - /// Parses all source units that were added /// @returns false on error. bool parse(); @@ -195,6 +191,10 @@ public: /// start line, start column, end line, end column std::tuple<int, int, int, int> positionFromSourceLocation(langutil::SourceLocation const& _sourceLocation) const; + /// @returns a list of unhandled queries to the SMT solver (has to be supplied in a second run + /// by calling @a addSMTLib2Response). + std::vector<std::string> const& unhandledSMTLib2Queries() const { return m_unhandledSMTLib2Queries; } + /// @returns a list of the contract names in the sources. std::vector<std::string> contractNames() const; |