[SMTChecker] Small refactoring of assignments to provide a common low-level point for model checker engines to hook into.

This commit is contained in:
Martin Blicha
2020-11-19 22:03:08 +01:00
parent 5c92c2eb81
commit fbcb572d69
2 changed files with 15 additions and 10 deletions
+4
View File
@@ -194,6 +194,10 @@ protected:
IntegerType const& _type
);
/// Handles the actual assertion of the new value to the encoding context.
/// Other assignment methods should use this one in the end.
void assignment(smt::SymbolicVariable& _symVar, smtutil::Expression const& _value);
void assignment(VariableDeclaration const& _variable, Expression const& _value);
/// Handles assignments to variables of different types.
void assignment(VariableDeclaration const& _variable, smtutil::Expression const& _value);