File tree Expand file tree Collapse file tree 1 file changed +0
-39
lines changed Expand file tree Collapse file tree 1 file changed +0
-39
lines changed Original file line number Diff line number Diff line change @@ -71,45 +71,6 @@ class c_typecheck_baset:
71
71
// service functions
72
72
//
73
73
74
- // initializers
75
- struct init_statet
76
- {
77
- protected:
78
- const exprt array;
79
- size_t pos;
80
-
81
- public:
82
- explicit init_statet (const exprt &_array):array(_array), pos(0 )
83
- {
84
- }
85
-
86
- size_t remaining () const
87
- {
88
- return array.operands ().size ()-pos;
89
- }
90
-
91
- bool has_next () const
92
- {
93
- return pos<array.operands ().size ();
94
- }
95
-
96
- init_statet &operator ++(int x)
97
- {
98
- pos++;
99
- return *this ;
100
- }
101
-
102
- const exprt &operator *() const
103
- {
104
- return array.operands ()[pos];
105
- }
106
-
107
- const exprt *operator ->() const
108
- {
109
- return &(array.operands ()[pos]);
110
- }
111
- };
112
-
113
74
virtual void do_initializer (
114
75
exprt &initializer,
115
76
const typet &type,
You can’t perform that action at this time.
0 commit comments