Move stateVariablesIncludingInheritedAndPrivate from CHC to SMTEncoder

This commit is contained in:
Leonardo Alt
2020-09-01 16:09:57 +02:00
parent 016b9b83a8
commit 5bbb20d3cb
4 changed files with 23 additions and 22 deletions
+3
View File
@@ -62,6 +62,9 @@ public:
/// if possible or nullptr.
static FunctionDefinition const* functionCallToDefinition(FunctionCall const& _funCall);
static std::vector<VariableDeclaration const*> stateVariablesIncludingInheritedAndPrivate(ContractDefinition const& _contract);
static std::vector<VariableDeclaration const*> stateVariablesIncludingInheritedAndPrivate(FunctionDefinition const& _function);
protected:
// TODO: Check that we do not have concurrent reads and writes to a variable,
// because the order of expression evaluation is undefined