File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,29 @@ class goto_statet
73
73
unsigned remaining_vccs = 0 ;
74
74
75
75
// / Constructors
76
+ goto_statet () = default ;
77
+ goto_statet &operator =(const goto_statet &other) = default ;
78
+ goto_statet &operator =(goto_statet &&other) = default ;
79
+ goto_statet (const goto_statet &other) = default ;
80
+
76
81
explicit goto_statet (const class goto_symex_statet &s);
77
82
explicit goto_statet (const symex_targett::sourcet &_source) : source(_source)
78
83
{
79
84
}
85
+
86
+ goto_statet (goto_statet &&other)
87
+ : depth(other.depth),
88
+ level2 (std::move(other.level2)),
89
+ value_set(std::move(other.value_set)),
90
+ guard(std::move(other.guard)),
91
+ source(std::move(other.source)),
92
+ propagation(std::move(other.propagation)),
93
+ atomic_section_id(other.atomic_section_id),
94
+ safe_pointers(other.safe_pointers),
95
+ total_vccs(other.total_vccs),
96
+ remaining_vccs(other.remaining_vccs)
97
+ {
98
+ }
80
99
};
81
100
82
101
// 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