aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SMTLib2Interface.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-08-02 19:04:58 +0800
committerGitHub <noreply@github.com>2018-08-02 19:04:58 +0800
commit6003ed2abdea76e809b1e6501b9e5a85b38e5859 (patch)
treeddef58c0184de1f80a6e5e9a791a6099f15dd98d /libsolidity/formal/SMTLib2Interface.h
parent9ec3fd1632e34abf6aca9d6d3bd0ac0fcfa34f62 (diff)
parent41ac3d6cfb7fedd054f8fbdedf5246ec15670941 (diff)
downloaddexon-solidity-6003ed2abdea76e809b1e6501b9e5a85b38e5859.tar
dexon-solidity-6003ed2abdea76e809b1e6501b9e5a85b38e5859.tar.gz
dexon-solidity-6003ed2abdea76e809b1e6501b9e5a85b38e5859.tar.bz2
dexon-solidity-6003ed2abdea76e809b1e6501b9e5a85b38e5859.tar.lz
dexon-solidity-6003ed2abdea76e809b1e6501b9e5a85b38e5859.tar.xz
dexon-solidity-6003ed2abdea76e809b1e6501b9e5a85b38e5859.tar.zst
dexon-solidity-6003ed2abdea76e809b1e6501b9e5a85b38e5859.zip
Merge pull request #4603 from ethereum/smtlib2
[SMTLib2] Fix repeated declarations
Diffstat (limited to 'libsolidity/formal/SMTLib2Interface.h')
-rw-r--r--libsolidity/formal/SMTLib2Interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/formal/SMTLib2Interface.h b/libsolidity/formal/SMTLib2Interface.h
index 61071fe5..eb876a7f 100644
--- a/libsolidity/formal/SMTLib2Interface.h
+++ b/libsolidity/formal/SMTLib2Interface.h
@@ -30,6 +30,7 @@
#include <string>
#include <vector>
#include <cstdio>
+#include <set>
namespace dev
{
@@ -68,6 +69,8 @@ private:
ReadCallback::Callback m_queryCallback;
std::vector<std::string> m_accumulatedOutput;
+ std::set<std::string> m_constants;
+ std::set<std::string> m_functions;
};
}