Skip to content

Commit 263fef4

Browse files
authored
Merge pull request diffblue#1628 from owen-jones-diffblue/owen-jones-diffblue/doc/fix-typos-in-vsa-docs
Fix a few typos in function comments
2 parents 21439f4 + 82b25c4 commit 263fef4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pointer-analysis/value_set.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Author: Daniel Kroening, [email protected]
2222

2323
class namespacet;
2424

25-
/// State type in value_set_domaint, used is value-set analysis and goto-symex.
25+
/// State type in value_set_domaint, used in value-set analysis and goto-symex.
2626
/// Represents a mapping from expressions to the addresses that may be stored
2727
/// there; for example, a global that is either null or points to a
2828
/// heap-allocated object, which itself has two fields, one pointing to another
@@ -163,7 +163,7 @@ class value_sett
163163
};
164164

165165
/// Converts an `object_map_dt` entry `object_number -> offset` into an
166-
/// `object_descriptor_offsett` with
166+
/// `object_descriptor_exprt` with
167167
/// `.object() == object_numbering.at(object_number)` and
168168
/// `.offset() == offset`.
169169
exprt to_expr(const object_map_dt::value_type &it) const;
@@ -303,7 +303,7 @@ class value_sett
303303
/// .object_map = ...
304304
/// }
305305
///
306-
/// The components of the ID are thus duplicates in the `valuest` key and in
306+
/// The components of the ID are thus duplicated in the `valuest` key and in
307307
/// `entryt` fields.
308308
#ifdef USE_DSTRING
309309
typedef std::map<idt, entryt> valuest;
@@ -439,7 +439,7 @@ class value_sett
439439
/// been run, in which case returns are explicitly passed via global
440440
/// variables named `function_name#return_value` and are handled via the usual
441441
/// `apply_code` path.
442-
/// \param lhs: expression that recieves the return value
442+
/// \param lhs: expression that receives the return value
443443
/// \param ns: global namespace
444444
void do_end_function(
445445
const exprt &lhs,

0 commit comments

Comments
 (0)