mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	remove unused field
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									aebdc8950a
								
							
						
					
					
						commit
						b1a1aa5007
					
				
					 2 changed files with 3 additions and 8 deletions
				
			
		|  | @ -437,10 +437,6 @@ app* seq_util::mk_skolem(symbol const& name, unsigned n, expr* const* args, sort | |||
| } | ||||
| 
 | ||||
| 
 | ||||
| app* seq_util::str::mk_string(symbol const& s) { | ||||
|     return u.seq.mk_string(s); | ||||
| } | ||||
| 
 | ||||
| void seq_util::str::get_concat(expr* e, ptr_vector<expr>& es) const { | ||||
|     expr* e1, *e2; | ||||
|     while (is_concat(e, e1, e2)) { | ||||
|  |  | |||
|  | @ -167,11 +167,11 @@ public: | |||
|         ast_manager& m; | ||||
|         family_id    m_fid; | ||||
|     public: | ||||
|         str(seq_util& u):u(u), m(u.m), m_fid(u.m_fid) {} | ||||
|         str(seq_util& u): u(u), m(u.m), m_fid(u.m_fid) {} | ||||
| 
 | ||||
|         sort* mk_seq(sort* s) { parameter param(s); return m.mk_sort(m_fid, SEQ_SORT, 1, ¶m); } | ||||
|         app* mk_empty(sort* s) { return m.mk_const(m.mk_func_decl(m_fid, OP_SEQ_EMPTY, 0, 0, 0, (expr*const*)0, s)); } | ||||
|         app* mk_string(symbol const& s); | ||||
|         app* mk_string(symbol const& s) { return u.seq.mk_string(s); } | ||||
|         app* mk_string(char const* s) { return mk_string(symbol(s)); } | ||||
|         app* mk_string(std::string const& s) { return mk_string(symbol(s.c_str())); } | ||||
|         app* mk_concat(expr* a, expr* b) { expr* es[2] = { a, b }; return m.mk_app(m_fid, OP_SEQ_CONCAT, 2, es); } | ||||
|  | @ -229,11 +229,10 @@ public: | |||
|     }; | ||||
| 
 | ||||
|     class re { | ||||
|         seq_util&    u; | ||||
|         ast_manager& m; | ||||
|         family_id    m_fid; | ||||
|     public: | ||||
|         re(seq_util& u):u(u), m(u.m), m_fid(u.m_fid) {} | ||||
|         re(seq_util& u): m(u.m), m_fid(u.m_fid) {} | ||||
| 
 | ||||
|         bool is_to_re(expr const* n)    const { return is_app_of(n, m_fid, OP_SEQ_TO_RE); } | ||||
|         bool is_concat(expr const* n)    const { return is_app_of(n, m_fid, OP_RE_CONCAT); } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue