File tree 12 files changed +41
-39
lines changed
12 files changed +41
-39
lines changed Original file line number Diff line number Diff line change 15
15
#include < iomanip>
16
16
17
17
#include < util/json.h>
18
- #include < util/json_expr.h>
19
18
#include < util/json_stream.h>
20
- #include < util/xml_expr.h>
21
19
#include < util/xml_irep.h>
22
20
23
21
#include < solvers/prop/cover_goals.h>
24
22
#include < solvers/prop/literal_expr.h>
25
23
26
24
#include < goto-symex/build_goto_trace.h>
27
- #include < goto-programs/xml_goto_trace.h>
25
+
26
+ #include < goto-programs/json_expr.h>
28
27
#include < goto-programs/json_goto_trace.h>
28
+ #include < goto-programs/xml_expr.h>
29
+ #include < goto-programs/xml_goto_trace.h>
29
30
30
31
#include < langapi/language_util.h>
31
32
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ SRC = adjust_float_expressions.cpp \
25
25
instrument_preconditions.cpp \
26
26
interpreter.cpp \
27
27
interpreter_evaluate.cpp \
28
+ json_expr.cpp \
28
29
json_goto_trace.cpp \
29
30
lazy_goto_model.cpp \
30
31
link_goto_model.cpp \
@@ -67,6 +68,7 @@ SRC = adjust_float_expressions.cpp \
67
68
vcd_goto_trace.cpp \
68
69
wp.cpp \
69
70
write_goto_binary.cpp \
71
+ xml_expr.cpp \
70
72
xml_goto_trace.cpp \
71
73
# Empty last line
72
74
Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ Author: Peter Schrammel
11
11
12
12
#include " json_expr.h"
13
13
14
- #include " namespace.h"
15
- #include " expr.h"
16
- #include " json.h"
17
- #include " arith_tools.h"
18
- #include " ieee_float.h"
19
- #include " fixedbv.h"
20
- #include " std_expr.h"
21
- #include " config.h"
22
- #include " identifier.h"
23
- #include " invariant.h"
14
+ #include < util/ namespace.h>
15
+ #include < util/ expr.h>
16
+ #include < util/ json.h>
17
+ #include < util/ arith_tools.h>
18
+ #include < util/ ieee_float.h>
19
+ #include < util/ fixedbv.h>
20
+ #include < util/ std_expr.h>
21
+ #include < util/ config.h>
22
+ #include < util/ identifier.h>
23
+ #include < util/ invariant.h>
24
24
25
25
#include < langapi/mode.h>
26
26
#include < langapi/language.h>
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ Author: Peter Schrammel
9
9
// / \file
10
10
// / Expressions in JSON
11
11
12
- #ifndef CPROVER_UTIL_JSON_EXPR_H
13
- #define CPROVER_UTIL_JSON_EXPR_H
12
+ #ifndef CPROVER_GOTO_PROGRAMS_JSON_EXPR_H
13
+ #define CPROVER_GOTO_PROGRAMS_JSON_EXPR_H
14
14
15
- #include " json.h"
16
- #include " irep.h"
15
+ #include < util/ json.h>
16
+ #include < util/ irep.h>
17
17
18
18
class typet ;
19
19
class exprt ;
@@ -29,4 +29,4 @@ json_objectt json(
29
29
const namespacet &,
30
30
const irep_idt &mode);
31
31
32
- #endif // CPROVER_UTIL_JSON_EXPR_H
32
+ #endif // CPROVER_GOTO_PROGRAMS_JSON_EXPR_H
Original file line number Diff line number Diff line change @@ -12,15 +12,16 @@ Author: Daniel Kroening
12
12
// / Traces of GOTO Programs
13
13
14
14
#include " json_goto_trace.h"
15
- #include " goto_trace.h"
16
15
17
16
#include < langapi/language_util.h>
18
17
#include < util/arith_tools.h>
19
18
#include < util/config.h>
20
19
#include < util/invariant.h>
21
- #include < util/json_expr.h>
22
20
#include < util/simplify_expr.h>
23
21
22
+ #include " goto_trace.h"
23
+ #include " json_expr.h"
24
+
24
25
// / Convert an ASSERT goto_trace step.
25
26
// / \param [out] json_failure: The JSON object that
26
27
// / will contain the information about the step
Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ Author: Daniel Kroening
13
13
14
14
#include " xml_expr.h"
15
15
16
- #include " arith_tools.h"
17
- #include " config.h"
18
- #include " expr.h"
19
- #include " fixedbv.h"
20
- #include " ieee_float.h"
21
- #include " invariant.h"
22
- #include " namespace.h"
23
- #include " std_expr.h"
24
- #include " xml.h"
16
+ #include < util/ arith_tools.h>
17
+ #include < util/ config.h>
18
+ #include < util/ expr.h>
19
+ #include < util/ fixedbv.h>
20
+ #include < util/ ieee_float.h>
21
+ #include < util/ invariant.h>
22
+ #include < util/ namespace.h>
23
+ #include < util/ std_expr.h>
24
+ #include < util/ xml.h>
25
25
26
26
xmlt xml (
27
27
const typet &type,
Original file line number Diff line number Diff line change 7
7
\*******************************************************************/
8
8
9
9
10
- #ifndef CPROVER_UTIL_XML_EXPR_H
11
- #define CPROVER_UTIL_XML_EXPR_H
10
+ #ifndef CPROVER_GOTO_PROGRAMS_XML_EXPR_H
11
+ #define CPROVER_GOTO_PROGRAMS_XML_EXPR_H
12
12
13
- #include " xml.h"
13
+ #include < util/ xml.h>
14
14
15
15
class typet ;
16
16
class exprt ;
@@ -24,4 +24,4 @@ xmlt xml(
24
24
const typet &,
25
25
const namespacet &);
26
26
27
- #endif // CPROVER_UTIL_XML_EXPR_H
27
+ #endif // CPROVER_GOTO_PROGRAMS_XML_EXPR_H
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ Author: Daniel Kroening
16
16
#include < cassert>
17
17
18
18
#include < util/symbol.h>
19
- #include < util/xml_expr.h>
20
19
#include < util/xml_irep.h>
21
20
22
21
#include < langapi/language_util.h>
23
22
24
23
#include " printf_formatter.h"
24
+ #include " xml_expr.h"
25
25
26
26
void convert (
27
27
const namespacet &ns,
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ SRC = allocate_objects.cpp \
37
37
irep_serialization.cpp \
38
38
invariant_utils.cpp \
39
39
json.cpp \
40
- json_expr.cpp \
41
40
json_irep.cpp \
42
41
json_stream.cpp \
43
42
lispexpr.cpp \
@@ -103,7 +102,6 @@ SRC = allocate_objects.cpp \
103
102
validate_types.cpp \
104
103
version.cpp \
105
104
xml.cpp \
106
- xml_expr.cpp \
107
105
xml_irep.cpp \
108
106
# Empty last line
109
107
Original file line number Diff line number Diff line change 1
1
big-int
2
- langapi # should go away
3
2
mach # system
4
3
malloc # system
5
4
nonstd
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ SRC += analyses/ai/ai.cpp \
25
25
goto-programs/goto_program_symbol_type_table_consistency.cpp \
26
26
goto-programs/goto_program_table_consistency.cpp \
27
27
goto-programs/goto_trace_output.cpp \
28
+ goto-programs/xml_expr.cpp \
28
29
goto-symex/ssa_equation.cpp \
29
30
interpreter/interpreter.cpp \
30
31
json/json_parser.cpp \
@@ -67,7 +68,6 @@ SRC += analyses/ai/ai.cpp \
67
68
util/symbol_table.cpp \
68
69
util/symbol.cpp \
69
70
util/unicode.cpp \
70
- util/xml_expr.cpp \
71
71
# Empty last line
72
72
73
73
INCLUDES = -I ../src/ -I.
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ Author: Michael Tautschnig
13
13
#include < util/namespace.h>
14
14
#include < util/std_expr.h>
15
15
#include < util/symbol_table.h>
16
- #include < util/xml_expr.h>
16
+
17
+ #include < goto-programs/xml_expr.h>
17
18
18
19
TEST_CASE (" Constant expression to XML" )
19
20
{
You can’t perform that action at this time.
0 commit comments