File tree 3 files changed +37
-0
lines changed
3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,28 @@ class goto_statet
71
71
unsigned remaining_vccs = 0 ;
72
72
73
73
// / Constructors
74
+ goto_statet () = default ;
75
+ goto_statet &operator =(const goto_statet &other) = default ;
76
+ goto_statet &operator =(goto_statet &&other) = default ;
77
+ goto_statet (const goto_statet &other) = default ;
78
+
74
79
explicit goto_statet (const class goto_symex_statet &s);
75
80
explicit goto_statet (const symex_targett::sourcet &_source) : source(_source)
76
81
{
77
82
}
83
+
84
+ goto_statet (goto_statet &&other)
85
+ : depth(other.depth),
86
+ level2 (std::move(other.level2)),
87
+ value_set(std::move(other.value_set)),
88
+ guard(std::move(other.guard)),
89
+ source(std::move(other.source)),
90
+ propagation(std::move(other.propagation)),
91
+ atomic_section_id(other.atomic_section_id),
92
+ total_vccs(other.total_vccs),
93
+ remaining_vccs(other.remaining_vccs)
94
+ {
95
+ }
78
96
};
79
97
80
98
// stack frames -- these are used for function calls and
Original file line number Diff line number Diff line change @@ -53,6 +53,15 @@ class symex_targett
53
53
pc(_goto_program.instructions.begin())
54
54
{
55
55
}
56
+
57
+ sourcet (sourcet &&other) noexcept
58
+ : thread_nr(other.thread_nr), function_id(other.function_id), pc(other.pc)
59
+ {
60
+ }
61
+
62
+ sourcet (const sourcet &other) = default ;
63
+ sourcet &operator =(const sourcet &other) = default ;
64
+ sourcet &operator =(sourcet &&other) = default ;
56
65
};
57
66
58
67
enum class assignment_typet
Original file line number Diff line number Diff line change @@ -45,6 +45,16 @@ class value_sett
45
45
{
46
46
}
47
47
48
+ value_sett (value_sett &&other)
49
+ : location_number(other.location_number), values(std::move(other.values))
50
+ {
51
+ }
52
+
53
+ value_sett (const value_sett &other) = default ;
54
+
55
+ value_sett &operator =(const value_sett &other) = default ;
56
+ value_sett &operator =(value_sett &&other) = default ;
57
+
48
58
virtual ~value_sett () = default ;
49
59
50
60
static bool field_sensitive (const irep_idt &id, const typet &type);
You can’t perform that action at this time.
0 commit comments