Skip to content

Commit 94c64da

Browse files
authored
Merge pull request #5895 from diffblue/move_pointer_typet
Move pointer_typet into pointer_expr.h
2 parents eadeaa1 + 7d1031b commit 94c64da

File tree

14 files changed

+144
-136
lines changed

14 files changed

+144
-136
lines changed

scripts/expected_doxygen_warnings.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ warning: Included by graph for 'invariant.h' not generated, too many nodes (187)
9292
warning: Included by graph for 'irep.h' not generated, too many nodes (62), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
9393
warning: Included by graph for 'message.h' not generated, too many nodes (117), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
9494
warning: Included by graph for 'namespace.h' not generated, too many nodes (109), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
95-
warning: Included by graph for 'pointer_expr.h' not generated, too many nodes (106), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
95+
warning: Included by graph for 'pointer_expr.h' not generated, too many nodes (117), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
9696
warning: Included by graph for 'prefix.h' not generated, too many nodes (86), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
9797
warning: Included by graph for 'simplify_expr.h' not generated, too many nodes (77), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
9898
warning: Included by graph for 'std_code.h' not generated, too many nodes (78), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
99-
warning: Included by graph for 'std_expr.h' not generated, too many nodes (244), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
100-
warning: Included by graph for 'std_types.h' not generated, too many nodes (121), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
99+
warning: Included by graph for 'std_expr.h' not generated, too many nodes (243), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
100+
warning: Included by graph for 'std_types.h' not generated, too many nodes (117), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
101101
warning: Included by graph for 'symbol_table.h' not generated, too many nodes (95), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.

src/analyses/variable-sensitivity/abstract_pointer_object.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#include <analyses/variable-sensitivity/abstract_environment.h>
1010
#include <analyses/variable-sensitivity/abstract_pointer_object.h>
1111

12+
#include <util/pointer_expr.h>
13+
1214
abstract_pointer_objectt::abstract_pointer_objectt(const typet &t)
1315
: abstract_objectt(t)
1416
{

src/cpp/cpp_is_pod.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Author: Daniel Kroening, kroening@cs.cmu.edu
1111

1212
#include "cpp_typecheck.h"
1313

14+
#include <util/pointer_expr.h>
15+
1416
bool cpp_typecheckt::cpp_is_pod(const typet &type) const
1517
{
1618
if(type.id()==ID_struct)

src/cpp/cpp_type2name.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Author: Daniel Kroening, kroening@cs.cmu.edu
1414
#include <string>
1515

1616
#include <util/cprover_prefix.h>
17-
#include <util/std_types.h>
17+
#include <util/pointer_expr.h>
1818
#include <util/type.h>
1919

2020
static std::string do_prefix(const std::string &s)

src/cpp/expr2cpp.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Author: Daniel Kroening, kroening@cs.cmu.edu
88

99
#include "expr2cpp.h"
1010

11-
#include <util/std_types.h>
12-
#include <util/std_expr.h>
13-
#include <util/symbol.h>
14-
#include <util/lispirep.h>
1511
#include <util/lispexpr.h>
12+
#include <util/lispirep.h>
1613
#include <util/namespace.h>
14+
#include <util/pointer_expr.h>
15+
#include <util/std_expr.h>
16+
#include <util/symbol.h>
1717

1818
#include <ansi-c/c_misc.h>
1919
#include <ansi-c/c_qualifiers.h>

src/goto-programs/xml_expr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Author: Daniel Kroening
2020
#include <util/ieee_float.h>
2121
#include <util/invariant.h>
2222
#include <util/namespace.h>
23-
#include <util/std_expr.h>
23+
#include <util/pointer_expr.h>
2424
#include <util/xml.h>
2525

2626
xmlt xml(const typet &type, const namespacet &ns)

src/solvers/flattening/boolbv_width.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Author: Daniel Kroening, kroening@kroening.com
1414
#include <util/exception_utils.h>
1515
#include <util/invariant.h>
1616
#include <util/namespace.h>
17+
#include <util/pointer_expr.h>
1718
#include <util/std_types.h>
1819

1920
boolbv_widtht::boolbv_widtht(const namespacet &_ns):ns(_ns)

src/util/base_type.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Author: Daniel Kroening, kroening@kroening.com
1414
#include <set>
1515

1616
#include "namespace.h"
17+
#include "pointer_expr.h"
1718
#include "std_types.h"
1819
#include "symbol.h"
1920
#include "union_find.h"

src/util/c_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Author: Daniel Kroening, kroening@kroening.com
1010
#ifndef CPROVER_UTIL_C_TYPES_H
1111
#define CPROVER_UTIL_C_TYPES_H
1212

13+
#include "pointer_expr.h"
1314
#include "std_types.h"
1415

1516
bitvector_typet index_type();

src/util/format_type.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Author: Daniel Kroening, kroening@kroening.com
88

99
#include "format_type.h"
1010
#include "format_expr.h"
11+
#include "pointer_expr.h"
1112
#include "std_types.h"
1213

1314
#include <ostream>

0 commit comments

Comments
 (0)