@@ -139,7 +139,7 @@ class value_sett
139
139
~object_map_dt ()=default ;
140
140
};
141
141
142
- // / Converts an `object_map_dt` entry `object_number -> offset` into an
142
+ // / Converts an `object_map_dt` element `object_number -> offset` into an
143
143
// / `object_descriptor_exprt` with
144
144
// / `.object() == object_numbering.at(object_number)` and
145
145
// / `.offset() == offset`.
@@ -159,29 +159,29 @@ class value_sett
159
159
// / be shared between the two `value_sett` instances.
160
160
typedef reference_counting<object_map_dt> object_mapt;
161
161
162
- // / Sets an entry in object map `dest` to match an existing entry `it`
163
- // / from a different map. Any existing entry for the same `exprt` is
162
+ // / Sets an element in object map `dest` to match an existing element `it`
163
+ // / from a different map. Any existing element for the same `exprt` is
164
164
// / overwritten.
165
165
// / \param dest: object map to update.
166
- // / \param it: iterator pointing to new entry
166
+ // / \param it: iterator pointing to new element
167
167
void set (object_mapt &dest, const object_map_dt::value_type &it) const
168
168
{
169
169
dest.write ()[it.first ]=it.second ;
170
170
}
171
171
172
- // / Merges an existing entry into an object map. If the destination map
173
- // / has an existing entry for the same expression with a different offset
172
+ // / Merges an existing element into an object map. If the destination map
173
+ // / has an existing element for the same expression with a different offset
174
174
// / its offset is marked unknown (so e.g. `x -> 0` and `x -> 1` merge into
175
175
// / `x -> ?`).
176
176
// / \param dest: object map to update.
177
- // / \param it: iterator pointing to new entry
177
+ // / \param it: iterator pointing to new element
178
178
bool insert (object_mapt &dest, const object_map_dt::value_type &it) const
179
179
{
180
180
return insert (dest, it.first , it.second );
181
181
}
182
182
183
183
// / Adds an expression to an object map, with unknown offset. If the
184
- // / destination map has an existing entry for the same expression
184
+ // / destination map has an existing element for the same expression
185
185
// / its offset is marked unknown.
186
186
// / \param dest: object map to update
187
187
// / \param src: expression to add
@@ -191,7 +191,7 @@ class value_sett
191
191
}
192
192
193
193
// / Adds an expression to an object map, with known offset. If the
194
- // / destination map has an existing entry for the same expression
194
+ // / destination map has an existing element for the same expression
195
195
// / with a differing offset its offset is marked unknown.
196
196
// / \param dest: object map to update
197
197
// / \param src: expression to add
@@ -205,7 +205,7 @@ class value_sett
205
205
}
206
206
207
207
// / Adds a numbered expression and offset to an object map. If the
208
- // / destination map has an existing entry for the same expression
208
+ // / destination map has an existing element for the same expression
209
209
// / with a differing offset its offset is marked unknown.
210
210
// / \param dest: object map to update
211
211
// / \param n: object number to add; must be mapped to the corresponding
@@ -217,7 +217,7 @@ class value_sett
217
217
const offsett &offset) const ;
218
218
219
219
// / Adds an expression and offset to an object map. If the
220
- // / destination map has an existing entry for the same expression
220
+ // / destination map has an existing element for the same expression
221
221
// / with a differing offset its offset is marked unknown.
222
222
// / \param dest: object map to update
223
223
// / \param expr: expression to add
@@ -230,7 +230,7 @@ class value_sett
230
230
// / Represents a row of a `value_sett`. For example, this might represent
231
231
// / `dynamic_object1.field1 -> { <dynamic_object2, 0> }`, with
232
232
// / `identifier == dynamic_object1`, `suffix` == `.field1` and
233
- // / a single-entry `object_map` representing `{ <dynamic_object2, 0> }`.
233
+ // / a single-element `object_map` representing `{ <dynamic_object2, 0> }`.
234
234
struct entryt
235
235
{
236
236
object_mapt object_map;
0 commit comments