summaryrefslogtreecommitdiff
path: root/src/theory/strings/solver_state.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2019-12-17 13:43:44 -0800
committerGitHub <noreply@github.com>2019-12-17 13:43:44 -0800
commite9499c41f405df8b42fd9ae10004b1b91a869106 (patch)
treefa1475f43a3e61b8f6ffdcb903b65919eba28661 /src/theory/strings/solver_state.h
parent9b2914ed9f7b14ecf535ffe9e1328d0fa042e072 (diff)
Generate code for options with modes. (#3561)
This commit adds support for code generation of options with modes (enums). From now on option enums can be specified in the corresponding *.toml files without the need of extra code. All option enums are now in the options namespace.
Diffstat (limited to 'src/theory/strings/solver_state.h')
-rw-r--r--src/theory/strings/solver_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/strings/solver_state.h b/src/theory/strings/solver_state.h
index a2001bb3b..46d198d36 100644
--- a/src/theory/strings/solver_state.h
+++ b/src/theory/strings/solver_state.h
@@ -22,6 +22,7 @@
#include "context/cdo.h"
#include "context/context.h"
#include "expr/node.h"
+#include "options/theory_options.h"
#include "theory/uf/equality_engine.h"
#include "theory/valuation.h"
@@ -171,7 +172,7 @@ class SolverState
*
* This calls entailmentCheck on the Valuation object of theory of strings.
*/
- std::pair<bool, Node> entailmentCheck(TheoryOfMode mode, TNode lit);
+ std::pair<bool, Node> entailmentCheck(options::TheoryOfMode mode, TNode lit);
/** Separate by length
*
* Separate the string representatives in argument n into a partition cols
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback