mirror of
https://github.com/Z3Prover/z3
synced 2026-04-03 18:31:08 +00:00
Remove s_other from snode_kind; unify under s_var and is_var() (#9087)
* remove s_other, use s_var and is_var() instead Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/d56594ed-7f7e-436a-a4b2-e6dc986b18a8 * fix build: add reset() override to test dummy solver stubs Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/d437376d-55d8-4087-baf1-e89451d2d597 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
63830085b6
commit
6b5401ef68
9 changed files with 16 additions and 12 deletions
|
|
@ -28,6 +28,7 @@ public:
|
|||
void push() override {}
|
||||
void pop(unsigned n) override {}
|
||||
void assert_expr(expr *e) override {}
|
||||
void reset() override {}
|
||||
lbool check() override {
|
||||
return l_true;
|
||||
}
|
||||
|
|
@ -3269,6 +3270,7 @@ public:
|
|||
void push() override { ++push_count; }
|
||||
void pop(unsigned n) override { pop_count += n; }
|
||||
void assert_expr(expr* e) override { asserted.push_back(expr_ref(e, m)); }
|
||||
void reset() override { reset_tracking(); }
|
||||
lbool check() override { return check_result; }
|
||||
void reset_tracking() {
|
||||
asserted.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue