diff options
author | Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> | 2021-03-02 01:58:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 00:58:20 +0000 |
commit | b5073e16ea49ce9214fcc5318ce080724719c809 (patch) | |
tree | 1073858c57a3590b67ae7fd8e6fa2d46872f9114 /src/theory/theory.h | |
parent | 822ae21e0b26e9a98b3a5585dbcd2694bbbce685 (diff) |
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.
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r-- | src/theory/theory.h | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h index fa26ab65e..5f4698e56 100644 --- a/src/theory/theory.h +++ b/src/theory/theory.h @@ -20,49 +20,39 @@ #define CVC4__THEORY__THEORY_H #include <iosfwd> -#include <map> #include <set> #include <string> #include <unordered_set> -#include "context/cdhashset.h" #include "context/cdlist.h" #include "context/cdo.h" #include "context/context.h" #include "expr/node.h" -#include "options/options.h" #include "options/theory_options.h" -#include "smt/logic_request.h" #include "theory/assertion.h" #include "theory/care_graph.h" -#include "theory/decision_manager.h" -#include "theory/ee_setup_info.h" #include "theory/logic_info.h" -#include "theory/output_channel.h" #include "theory/theory_id.h" -#include "theory/theory_inference_manager.h" -#include "theory/theory_rewriter.h" -#include "theory/theory_state.h" #include "theory/trust_node.h" -#include "theory/trust_substitutions.h" #include "theory/valuation.h" #include "util/statistics_registry.h" namespace CVC4 { -class TheoryEngine; class ProofNodeManager; +class TheoryEngine; namespace theory { +class DecisionManager; +struct EeSetupInfo; +class OutputChannel; class QuantifiersEngine; +class TheoryInferenceManager; class TheoryModel; -class SubstitutionMap; class TheoryRewriter; - -namespace rrinst { - class CandidateGenerator; -}/* CVC4::theory::rrinst namespace */ +class TheoryState; +class TrustSubstitutionMap; namespace eq { class EqualityEngine; |