3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-05 16:56:18 +00:00

Revert "Refactor find_psort_decl() to return std::optional<psort_decl*> (#8339)"

This reverts commit 445f995c54.
This commit is contained in:
Nikolaj Bjorner 2026-01-26 13:19:51 -08:00
parent 0a68837ef2
commit 7a2eea6f40
4 changed files with 28 additions and 30 deletions

View file

@ -20,7 +20,6 @@ Notes:
--*/
#pragma once
#include<optional>
#include<sstream>
#include<vector>
#include "util/stopwatch.h"
@ -471,7 +470,7 @@ public:
func_decl * find_func_decl(symbol const & s, unsigned num_indices, unsigned const * indices,
unsigned arity, sort * const * domain, sort * range);
recfun::promise_def decl_rec_fun(const symbol &name, unsigned int arity, sort *const *domain, sort *range);
std::optional<psort_decl*> find_psort_decl(symbol const & s) const;
psort_decl * find_psort_decl(symbol const & s) const;
cmd * find_cmd(symbol const & s) const;
sexpr * find_user_tactic(symbol const & s) const;
object_ref * find_object_ref(symbol const & s) const;