Skip to content

Commit e71522d

Browse files
Document array_poolt::insert
1 parent 4583322 commit e71522d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/solvers/strings/array_pool.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ class array_poolt final
7171
/// \return expression for the length of `s`, or empty optional
7272
optionalt<exprt> get_length_if_exists(const array_string_exprt &s) const;
7373

74+
/// Associate \p pointer_expr to \p array and if the size in the array type is
75+
/// different from infinity, record it as the length of array
7476
void insert(const exprt &pointer_expr, const array_string_exprt &array);
7577

7678
/// Creates a new array if the pointer is not pointing to an array

0 commit comments

Comments
 (0)