Skip to content

Commit

Permalink
move parameters from ast/rewriter to params
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Aug 29, 2020
1 parent 507b4c7 commit 11c90cc
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 16 deletions.
7 changes: 0 additions & 7 deletions src/ast/rewriter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,4 @@ z3_add_component(rewriter
params
automata
polynomial
PYG_FILES
array_rewriter_params.pyg
bool_rewriter_params.pyg
fpa_rewriter_params.pyg
poly_rewriter_params.pyg
rewriter_params.pyg
seq_rewriter_params.pyg
)
2 changes: 1 addition & 1 deletion src/ast/rewriter/array_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ Module Name:
--*/
#include "ast/rewriter/array_rewriter.h"
#include "ast/rewriter/array_rewriter_params.hpp"
#include "ast/ast_lt.h"
#include "ast/ast_util.h"
#include "ast/ast_pp.h"
#include "ast/ast_ll_pp.h"
#include "ast/rewriter/var_subst.h"
#include "params/array_rewriter_params.hpp"

void array_rewriter::updt_params(params_ref const & _p) {
array_rewriter_params p(_p);
Expand Down
2 changes: 1 addition & 1 deletion src/ast/rewriter/bool_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Module Name:
--*/
#include "ast/rewriter/bool_rewriter.h"
#include "ast/rewriter/bool_rewriter_params.hpp"
#include "params/bool_rewriter_params.hpp"
#include "ast/rewriter/rewriter_def.h"
#include "ast/ast_lt.h"
#include <algorithm>
Expand Down
2 changes: 1 addition & 1 deletion src/ast/rewriter/fpa_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Module Name:
--*/
#include "ast/rewriter/fpa_rewriter.h"
#include "ast/rewriter/fpa_rewriter_params.hpp"
#include "params/fpa_rewriter_params.hpp"
#include "ast/ast_smt2_pp.h"

fpa_rewriter::fpa_rewriter(ast_manager & m, params_ref const & p) :
Expand Down
2 changes: 1 addition & 1 deletion src/ast/rewriter/poly_rewriter_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Module Name:

#include "util/container_util.h"
#include "ast/rewriter/poly_rewriter.h"
#include "ast/rewriter/poly_rewriter_params.hpp"
#include "params/poly_rewriter_params.hpp"
#include "params/arith_rewriter_params.hpp"
#include "ast/ast_lt.h"
#include "ast/ast_ll_pp.h"
Expand Down
2 changes: 1 addition & 1 deletion src/ast/rewriter/seq_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Module Name:
#include "ast/well_sorted.h"
#include "ast/rewriter/var_subst.h"
#include "ast/rewriter/expr_safe_replace.h"
#include "ast/rewriter/seq_rewriter_params.hpp"
#include "params/seq_rewriter_params.hpp"
#include "math/automata/automaton.h"
#include "math/automata/symbolic_automata_def.h"

Expand Down
2 changes: 1 addition & 1 deletion src/ast/rewriter/th_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Module Name:
Notes:
--*/
#include "params/rewriter_params.hpp"
#include "ast/rewriter/th_rewriter.h"
#include "ast/rewriter/rewriter_params.hpp"
#include "ast/rewriter/bool_rewriter.h"
#include "ast/rewriter/arith_rewriter.h"
#include "ast/rewriter/bv_rewriter.h"
Expand Down
10 changes: 8 additions & 2 deletions src/params/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ z3_add_component(params
util
ast
PYG_FILES
pattern_inference_params_helper.pyg
bv_rewriter_params.pyg
arith_rewriter_params.pyg
array_rewriter_params.pyg
bool_rewriter_params.pyg
bv_rewriter_params.pyg
fpa_rewriter_params.pyg
pattern_inference_params_helper.pyg
poly_rewriter_params.pyg
rewriter_params.pyg
seq_rewriter_params.pyg
EXTRA_REGISTER_MODULE_HEADERS
context_params.h
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/tactic/bv/bv_bound_chk_tactic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
--*/
#include "tactic/bv/bv_bound_chk_tactic.h"
#include "ast/ast.h"
#include "params/rewriter_params.hpp"
#include "ast/rewriter/rewriter.h"
#include "ast/rewriter/rewriter_def.h"
#include "ast/rewriter/bv_bounds.h"
#include "ast/rewriter/rewriter_params.hpp"
#include "ast/rewriter/bool_rewriter.h"

struct bv_bound_chk_stats {
Expand Down

0 comments on commit 11c90cc

Please sign in to comment.