summaryrefslogtreecommitdiff
path: root/src/expr
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-11-30 10:56:28 -0600
committerGitHub <noreply@github.com>2020-11-30 10:56:28 -0600
commit9f372f084f5c558e3ff618d02abfdb384a82e066 (patch)
treeeebab887048231876505ced878b5b7878ffb72b6 /src/expr
parentac6150d7992b5dd1cace8d8d6e0d308e4a741c12 (diff)
Remove includes for old API from internal code (#5536)
The only code including the old API now are in parser/ and main/ which will require further untangling.
Diffstat (limited to 'src/expr')
-rw-r--r--src/expr/CMakeLists.txt1
-rw-r--r--src/expr/array.h26
-rw-r--r--src/expr/symbol_table.h1
-rw-r--r--src/expr/type.h3
-rw-r--r--src/expr/type_properties_template.h2
5 files changed, 1 insertions, 32 deletions
diff --git a/src/expr/CMakeLists.txt b/src/expr/CMakeLists.txt
index 18de83e90..391db4bd4 100644
--- a/src/expr/CMakeLists.txt
+++ b/src/expr/CMakeLists.txt
@@ -9,7 +9,6 @@
## directory for licensing information.
##
libcvc4_add_sources(
- array.h
array_store_all.cpp
array_store_all.h
ascription_type.cpp
diff --git a/src/expr/array.h b/src/expr/array.h
deleted file mode 100644
index 620e61ea0..000000000
--- a/src/expr/array.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/********************* */
-/*! \file array.h
- ** \verbatim
- ** Top contributors (to current version):
- ** Mathias Preiner, Morgan Deters
- ** This file is part of the CVC4 project.
- ** Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
- ** in the top-level source directory and their institutional affiliations.
- ** All rights reserved. See the file COPYING in the top-level source
- ** directory for licensing information.\endverbatim
- **
- ** \brief Array types.
- **
- ** Array types.
- **/
-
-#include "cvc4_public.h"
-
-#ifndef CVC4__ARRAY_H
-#define CVC4__ARRAY_H
-
-// we get ArrayType right now by #including type.h.
-// array.h is still useful for the auto-generated kinds #includes.
-#include "expr/type.h"
-
-#endif /* CVC4__ARRAY_H */
diff --git a/src/expr/symbol_table.h b/src/expr/symbol_table.h
index 35bed1dbf..d6a632ac5 100644
--- a/src/expr/symbol_table.h
+++ b/src/expr/symbol_table.h
@@ -24,7 +24,6 @@
#include <vector>
#include "base/exception.h"
-#include "expr/expr.h"
#include "expr/type.h"
namespace CVC4 {
diff --git a/src/expr/type.h b/src/expr/type.h
index 0b923f027..0c70b1667 100644
--- a/src/expr/type.h
+++ b/src/expr/type.h
@@ -35,9 +35,6 @@ struct CVC4_PUBLIC ExprManagerMapCollection;
class SmtEngine;
-class CVC4_PUBLIC Datatype;
-class Record;
-
template <bool ref_count>
class NodeTemplate;
diff --git a/src/expr/type_properties_template.h b/src/expr/type_properties_template.h
index 264d065d6..723f805b7 100644
--- a/src/expr/type_properties_template.h
+++ b/src/expr/type_properties_template.h
@@ -22,8 +22,8 @@
#include <sstream>
#include "base/check.h"
-#include "expr/expr.h"
#include "expr/kind.h"
+#include "expr/node.h"
#include "expr/type_node.h"
#include "options/language.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback