mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 19:05:51 +00:00
Make ast_manager::get_family_id(symbol const &) side-effect free. The version with side-effects is now called ast_manager::mk_family_id
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3ddb1a85f1
commit
d92efeb0c5
56 changed files with 127 additions and 108 deletions
|
@ -32,11 +32,10 @@ class pattern_validator {
|
|||
public:
|
||||
pattern_validator(ast_manager const & m):
|
||||
m_bfid(m.get_basic_family_id()),
|
||||
m_lfid(m.get_family_id("label")) {
|
||||
m_lfid(m.get_label_family_id()) {
|
||||
}
|
||||
|
||||
bool operator()(unsigned num_bindings, unsigned num_new_bindings, expr * n);
|
||||
|
||||
bool operator()(unsigned num_new_bindings, expr * n) { return operator()(UINT_MAX, num_new_bindings, n); }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue