diff options
author | Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> | 2021-03-03 17:50:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 16:50:45 +0000 |
commit | a02a794c383ae2381e1210f53174cefb8d94e615 (patch) | |
tree | 0eac511c22ba9eeba1925e3afa4f0542edf5cf60 /src/smt/process_assertions.h | |
parent | 6db84f6e373f9651af48df7b654e3992f68472ac (diff) |
More cleanup of includes to reduce compilation times (#6037)
Similar to #6031, this PR implements suggestions from iwyu to reduce the number of includes in header files by introducing forward declarations and moving includes to source files.
Diffstat (limited to 'src/smt/process_assertions.h')
-rw-r--r-- | src/smt/process_assertions.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/smt/process_assertions.h b/src/smt/process_assertions.h index ca834459d..891ef93f1 100644 --- a/src/smt/process_assertions.h +++ b/src/smt/process_assertions.h @@ -17,17 +17,14 @@ #ifndef CVC4__SMT__PROCESS_ASSERTIONS_H #define CVC4__SMT__PROCESS_ASSERTIONS_H -#include <map> +#include <unordered_map> -#include "context/cdhashmap.h" #include "context/cdlist.h" #include "expr/node.h" #include "expr/type_node.h" #include "preprocessing/preprocessing_pass.h" #include "preprocessing/preprocessing_pass_context.h" #include "smt/assertions.h" -#include "smt/expand_definitions.h" -#include "smt/smt_engine_stats.h" #include "util/resource_manager.h" namespace CVC4 { @@ -36,6 +33,9 @@ class SmtEngine; namespace smt { +class ExpandDefs; +struct SmtEngineStatistics; + /** * Module in charge of processing assertions for an SMT engine. * @@ -54,7 +54,7 @@ class ProcessAssertions { /** The types for the recursive function definitions */ typedef context::CDList<Node> NodeList; - typedef unordered_map<Node, bool, NodeHashFunction> NodeToBoolHashMap; + typedef std::unordered_map<Node, bool, NodeHashFunction> NodeToBoolHashMap; public: ProcessAssertions(SmtEngine& smt, |