Clean up includes to reduce compile times (#6031)
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>
Tue, 2 Mar 2021 00:58:20 +0000 (01:58 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Mar 2021 00:58:20 +0000 (00:58 +0000)
commitb5073e16ea49ce9214fcc5318ce080724719c809
tree1073858c57a3590b67ae7fd8e6fa2d46872f9114
parent822ae21e0b26e9a98b3a5585dbcd2694bbbce685
Clean up includes to reduce compile times (#6031)

This PR cleans up a ton of includes, based on the suggestions of iwyu.
Mostly, it removes includes from header files in favor of forward declarations and adds includes to source files.
210 files changed:
src/api/cvc4cpp.cpp
src/base/exception.cpp
src/base/exception.h
src/base/listener.h
src/base/output.h
src/context/cdlist.h
src/context/context.cpp
src/context/context.h
src/expr/buffered_proof_generator.cpp
src/expr/buffered_proof_generator.h
src/expr/datatype_index.cpp
src/expr/datatype_index.h
src/expr/dtype.cpp
src/expr/dtype.h
src/expr/lazy_proof.cpp
src/expr/lazy_proof.h
src/expr/lazy_proof_chain.cpp
src/expr/lazy_proof_chain.h
src/expr/node.cpp
src/expr/node.h
src/expr/node_manager.cpp
src/expr/node_traversal.cpp
src/expr/node_traversal.h
src/expr/node_value.h
src/expr/proof.cpp
src/expr/proof.h
src/preprocessing/passes/quantifier_macros.cpp
src/preprocessing/preprocessing_pass_context.cpp
src/printer/cvc/cvc_printer.cpp
src/printer/smt2/smt2_printer.cpp
src/prop/prop_engine.h
src/smt/command.cpp
src/smt/dump.cpp
src/smt/listeners.cpp
src/smt/logic_request.h
src/smt/set_defaults.cpp
src/smt/smt_engine.cpp
src/smt/smt_engine.h
src/theory/arith/arith_preprocess.cpp
src/theory/arith/arith_rewriter.h
src/theory/arith/attempt_solution_simplex.cpp
src/theory/arith/dual_simplex.cpp
src/theory/arith/fc_simplex.cpp
src/theory/arith/fc_simplex.h
src/theory/arith/nl/cad/cdcac.cpp
src/theory/arith/nl/cad/cdcac.h
src/theory/arith/nl/cad_solver.cpp
src/theory/arith/nl/cad_solver.h
src/theory/arith/nl/ext/ext_state.cpp
src/theory/arith/nl/ext/ext_state.h
src/theory/arith/nl/ext/factoring_check.cpp
src/theory/arith/nl/ext/monomial_bounds_check.cpp
src/theory/arith/nl/ext/monomial_check.cpp
src/theory/arith/nl/ext/monomial_check.h
src/theory/arith/nl/ext/split_zero_check.cpp
src/theory/arith/nl/ext/split_zero_check.h
src/theory/arith/nl/ext/tangent_plane_check.cpp
src/theory/arith/nl/ext_theory_callback.cpp
src/theory/arith/nl/iand_solver.cpp
src/theory/arith/nl/iand_solver.h
src/theory/arith/nl/iand_utils.cpp
src/theory/arith/nl/iand_utils.h
src/theory/arith/nl/icp/icp_solver.cpp
src/theory/arith/nl/icp/icp_solver.h
src/theory/arith/nl/icp/intersection.cpp
src/theory/arith/nl/icp/intersection.h
src/theory/arith/nl/nl_model.cpp
src/theory/arith/nl/nl_model.h
src/theory/arith/nl/nonlinear_extension.cpp
src/theory/arith/nl/nonlinear_extension.h
src/theory/arith/nl/poly_conversion.cpp
src/theory/arith/nl/poly_conversion.h
src/theory/arith/nl/stats.h
src/theory/arith/nl/strategy.h
src/theory/arith/nl/transcendental/exponential_solver.cpp
src/theory/arith/nl/transcendental/exponential_solver.h
src/theory/arith/nl/transcendental/sine_solver.cpp
src/theory/arith/nl/transcendental/sine_solver.h
src/theory/arith/nl/transcendental/taylor_generator.cpp
src/theory/arith/nl/transcendental/taylor_generator.h
src/theory/arith/nl/transcendental/transcendental_solver.cpp
src/theory/arith/nl/transcendental/transcendental_solver.h
src/theory/arith/nl/transcendental/transcendental_state.cpp
src/theory/arith/nl/transcendental/transcendental_state.h
src/theory/arith/simplex.cpp
src/theory/arith/simplex.h
src/theory/arith/soi_simplex.cpp
src/theory/arith/theory_arith.h
src/theory/arith/theory_arith_private.cpp
src/theory/arith/theory_arith_private.h
src/theory/arrays/inference_manager.cpp
src/theory/arrays/theory_arrays.cpp
src/theory/arrays/theory_arrays.h
src/theory/bags/bag_solver.cpp
src/theory/bags/bags_rewriter.h
src/theory/booleans/circuit_propagator.cpp
src/theory/booleans/theory_bool.cpp
src/theory/bv/bitblast/simple_bitblaster.cpp
src/theory/bv/bv_inequality_graph.h
src/theory/bv/bv_solver_lazy.cpp
src/theory/bv/theory_bv.cpp
src/theory/bv/theory_bv.h
src/theory/care_graph.h
src/theory/datatypes/datatypes_rewriter.cpp
src/theory/datatypes/infer_proof_cons.cpp
src/theory/datatypes/inference_manager.cpp
src/theory/datatypes/inference_manager.h
src/theory/datatypes/proof_checker.cpp
src/theory/datatypes/sygus_datatype_utils.cpp
src/theory/datatypes/sygus_extension.cpp
src/theory/datatypes/sygus_simple_sym.cpp
src/theory/datatypes/theory_datatypes.cpp
src/theory/datatypes/theory_datatypes_type_rules.h
src/theory/datatypes/theory_datatypes_utils.cpp
src/theory/datatypes/type_enumerator.cpp
src/theory/ext_theory.cpp
src/theory/fp/theory_fp.cpp
src/theory/fp/theory_fp.h
src/theory/inference_manager_buffered.cpp
src/theory/model_manager.cpp
src/theory/quantifiers/cegqi/ceg_dt_instantiator.cpp
src/theory/quantifiers/cegqi/ceg_instantiator.cpp
src/theory/quantifiers/cegqi/vts_term_cache.cpp
src/theory/quantifiers/ematching/candidate_generator.cpp
src/theory/quantifiers/ematching/ho_trigger.cpp
src/theory/quantifiers/ematching/inst_match_generator.cpp
src/theory/quantifiers/ematching/inst_match_generator_multi.cpp
src/theory/quantifiers/ematching/inst_match_generator_multi_linear.cpp
src/theory/quantifiers/ematching/inst_match_generator_simple.cpp
src/theory/quantifiers/ematching/inst_strategy_e_matching.cpp
src/theory/quantifiers/ematching/inst_strategy_e_matching_user.cpp
src/theory/quantifiers/ematching/pattern_term_selector.cpp
src/theory/quantifiers/ematching/trigger.cpp
src/theory/quantifiers/ematching/var_match_generator.cpp
src/theory/quantifiers/expr_miner.cpp
src/theory/quantifiers/fmf/bounded_integers.cpp
src/theory/quantifiers/fmf/bounded_integers.h
src/theory/quantifiers/inst_match.cpp
src/theory/quantifiers/inst_match_trie.cpp
src/theory/quantifiers/instantiate.cpp
src/theory/quantifiers/instantiate.h
src/theory/quantifiers/quant_conflict_find.cpp
src/theory/quantifiers/quant_rep_bound_ext.cpp
src/theory/quantifiers/quant_split.cpp
src/theory/quantifiers/quantifiers_rewriter.cpp
src/theory/quantifiers/quantifiers_state.cpp
src/theory/quantifiers/relevant_domain.cpp
src/theory/quantifiers/skolemize.cpp
src/theory/quantifiers/sygus/ce_guided_single_inv_sol.cpp
src/theory/quantifiers/sygus/cegis_core_connective.cpp
src/theory/quantifiers/sygus/cegis_unif.h
src/theory/quantifiers/sygus/enum_stream_substitution.cpp
src/theory/quantifiers/sygus/sygus_enumerator.cpp
src/theory/quantifiers/sygus/sygus_eval_unfold.cpp
src/theory/quantifiers/sygus/sygus_explain.cpp
src/theory/quantifiers/sygus/sygus_grammar_cons.cpp
src/theory/quantifiers/sygus/sygus_grammar_norm.cpp
src/theory/quantifiers/sygus/sygus_grammar_red.cpp
src/theory/quantifiers/sygus/sygus_process_conj.cpp
src/theory/quantifiers/sygus/sygus_repair_const.cpp
src/theory/quantifiers/sygus/sygus_unif_strat.cpp
src/theory/quantifiers/sygus/synth_conjecture.cpp
src/theory/quantifiers/sygus/term_database_sygus.cpp
src/theory/quantifiers/sygus/type_info.cpp
src/theory/quantifiers/sygus_inst.cpp
src/theory/quantifiers/sygus_inst.h
src/theory/quantifiers/sygus_sampler.cpp
src/theory/quantifiers/term_database.cpp
src/theory/quantifiers/term_database.h
src/theory/quantifiers/term_util.cpp
src/theory/quantifiers/term_util.h
src/theory/quantifiers_engine.cpp
src/theory/quantifiers_engine.h
src/theory/rewriter.cpp
src/theory/rewriter.h
src/theory/sep/theory_sep.cpp
src/theory/sep/theory_sep.h
src/theory/sets/rels_utils.h
src/theory/sets/theory_sets.cpp
src/theory/sets/theory_sets_rewriter.cpp
src/theory/strings/core_solver.cpp
src/theory/strings/regexp_elim.cpp
src/theory/strings/theory_strings.cpp
src/theory/term_registration_visitor.cpp
src/theory/theory.cpp
src/theory/theory.h
src/theory/theory_inference_manager.cpp
src/theory/theory_inference_manager.h
src/theory/theory_model_builder.cpp
src/theory/trust_node.h
src/theory/uf/eq_proof.cpp
src/theory/uf/theory_uf.h
src/util/bitvector.cpp
src/util/bitvector.h
src/util/cardinality.cpp
src/util/cardinality.h
src/util/divisible.h
src/util/ostream_util.cpp
src/util/ostream_util.h
src/util/resource_manager.cpp
src/util/resource_manager.h
src/util/statistics.cpp
src/util/statistics_registry.h
src/util/tuple.h
src/util/utility.cpp
src/util/utility.h
test/unit/expr/node_black.cpp
test/unit/test_smt.h
test/unit/theory/theory_arith_white.cpp
test/unit/util/datatype_black.cpp