mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 09:20:22 +00:00
Unicode for Z3str3 (#4981)
* z3str3: remove hard-coded char set * z3str3: remove hard-coded char set * z3str3: use char abstraction * z3str3: scope management for unicode chars * add QF_CHAR for z3str3 * z3str3: remove hard-coded char set * z3str3: use char abstraction * z3str3: scope management for unicode chars * add QF_CHAR for z3str3 * z3str3: add 'char' string solver case * z3str3: fix mk_char using the wrong ast manager * z3str3: fix refcounted character vectors
This commit is contained in:
parent
cfcd7f18a9
commit
da68c3213c
4 changed files with 49 additions and 36 deletions
|
@ -99,6 +99,8 @@ namespace smt {
|
|||
dealloc(aut);
|
||||
}
|
||||
regex_automata.clear();
|
||||
for (auto& kv: var_to_char_subterm_map) dealloc(kv.m_value);
|
||||
for (auto& kv: uninterpreted_to_char_subterm_map) dealloc(kv.m_value);
|
||||
}
|
||||
|
||||
void theory_str::init() {
|
||||
|
@ -162,7 +164,10 @@ namespace smt {
|
|||
fixed_length_subterm_trail.reset();
|
||||
fixed_length_assumptions.reset();
|
||||
fixed_length_used_len_terms.reset();
|
||||
|
||||
for (auto& kv: var_to_char_subterm_map) dealloc(kv.m_value);
|
||||
var_to_char_subterm_map.reset();
|
||||
for (auto& kv: uninterpreted_to_char_subterm_map) dealloc(kv.m_value);
|
||||
uninterpreted_to_char_subterm_map.reset();
|
||||
fixed_length_lesson.reset();
|
||||
candidate_model.reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue