mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
don't flush stream when printing param vals
This commit is contained in:
parent
d4490738bc
commit
d30cb55bae
|
@ -33,8 +33,8 @@ struct bit_blaster_params {
|
|||
#endif
|
||||
|
||||
void display(std::ostream & out) const {
|
||||
out << "m_bb_ext_gates=" << m_bb_ext_gates << std::endl;
|
||||
out << "m_bb_quantifiers=" << m_bb_quantifiers << std::endl;
|
||||
out << "m_bb_ext_gates=" << m_bb_ext_gates << '\n';
|
||||
out << "m_bb_quantifiers=" << m_bb_quantifiers << '\n';
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ void pattern_inference_params::updt_params(params_ref const & _p) {
|
|||
m_pi_warnings = p.warnings();
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void pattern_inference_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_pi_max_multi_patterns);
|
||||
|
|
|
@ -29,7 +29,7 @@ void dyn_ack_params::updt_params(params_ref const & _p) {
|
|||
m_dack_gc_inv_decay = p.dack_gc_inv_decay();
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void dyn_ack_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM((unsigned)m_dack);
|
||||
|
|
|
@ -34,7 +34,7 @@ void preprocessor_params::updt_params(params_ref const & p) {
|
|||
updt_local_params(p);
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void preprocessor_params::display(std::ostream & out) const {
|
||||
pattern_inference_params::display(out);
|
||||
|
|
|
@ -39,7 +39,7 @@ void qi_params::updt_params(params_ref const & _p) {
|
|||
m_qi_quick_checker = static_cast<quick_checker_mode>(p.qi_quick_checker());
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void qi_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_qi_cost);
|
||||
|
|
|
@ -85,7 +85,7 @@ void smt_params::updt_params(context_params const & p) {
|
|||
m_model = p.m_model;
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void smt_params::display(std::ostream & out) const {
|
||||
preprocessor_params::display(out);
|
||||
|
|
|
@ -42,7 +42,7 @@ void theory_arith_params::updt_params(params_ref const & _p) {
|
|||
}
|
||||
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void theory_arith_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_arith_eq2ineq);
|
||||
|
|
|
@ -25,7 +25,7 @@ void theory_array_params::updt_params(params_ref const & _p) {
|
|||
m_array_extensional = p.array_extensional();
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void theory_array_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_array_mode);
|
||||
|
|
|
@ -31,7 +31,7 @@ void theory_bv_params::updt_params(params_ref const & _p) {
|
|||
m_bv_size_reduce = p.bv_size_reduce();
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void theory_bv_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_bv_mode);
|
||||
|
|
|
@ -32,7 +32,7 @@ struct theory_datatype_params {
|
|||
m_dt_lazy_splits = p.dt_lazy_splits();
|
||||
}
|
||||
|
||||
void display(std::ostream & out) const { out << "m_dt_lazy_splits=" << m_dt_lazy_splits << std::endl; }
|
||||
void display(std::ostream & out) const { out << "m_dt_lazy_splits=" << m_dt_lazy_splits << '\n'; }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ void theory_pb_params::updt_params(params_ref const & _p) {
|
|||
m_pb_learn_complements = p.pb_learn_complements();
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void theory_pb_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_pb_conflict_frequency);
|
||||
|
|
|
@ -37,7 +37,7 @@ void theory_str_params::updt_params(params_ref const & _p) {
|
|||
m_FixedLengthNaiveCounterexamples = p.str_fixed_length_naive_cex();
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void theory_str_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_StrongArrangements);
|
||||
|
|
|
@ -23,7 +23,7 @@ Author:
|
|||
|
||||
tactic * mk_smt_tactic(ast_manager & m, params_ref const & p) {
|
||||
sat_params sp(p);
|
||||
if (sp.smt())
|
||||
if (sp.smt())
|
||||
return mk_solver2tactic(mk_smt2_solver(m, p));
|
||||
if (sp.euf())
|
||||
return mk_sat_tactic(m, p);
|
||||
|
|
Loading…
Reference in a new issue