mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
goodies for gdb
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
a159943669
commit
6a7d180e69
|
@ -1130,3 +1130,11 @@ std::ostream& operator<<(std::ostream& out, mk_ismt2_pp const & p) {
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef Z3DEBUG
|
||||||
|
void pp(expr const * n, ast_manager & m) {
|
||||||
|
std::cout << mk_ismt2_pp(const_cast<expr*>(n), m) << std::endl;
|
||||||
|
}
|
||||||
|
void pp(expr_ref const & n) {
|
||||||
|
std::cout << mk_ismt2_pp(n.get(), n.m()) << std::endl;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue