File tree 2 files changed +12
-12
lines changed
2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -1656,18 +1656,6 @@ optionalt<std::string> simplify_exprt::expr2bits(
1656
1656
return {};
1657
1657
}
1658
1658
1659
- // / Get char sequence from refined string expression
1660
- // /
1661
- // / If `s.content()` is of the form `&id[e]`, where `id` is an array-typed
1662
- // / symbol expression (and `e` is any expression), return the value of the
1663
- // / symbol `id` (as given by the `value` field of the symbol in the namespace
1664
- // / `ns`); otherwise return an empty optional.
1665
- // /
1666
- // / \param s: refined string expression
1667
- // / \param ns: namespace
1668
- // / \return array expression representing the char sequence which forms the
1669
- // / content of the refined string expression, empty optional if the content
1670
- // / cannot be determined
1671
1659
optionalt<std::reference_wrapper<const array_exprt>>
1672
1660
try_get_string_data_array (const refined_string_exprt &s, const namespacet &ns)
1673
1661
{
Original file line number Diff line number Diff line change @@ -31,6 +31,18 @@ bool simplify(
31
31
// this is the preferred interface
32
32
exprt simplify_expr (exprt src, const namespacet &ns);
33
33
34
+ // / Get char sequence from refined string expression
35
+ // /
36
+ // / If `s.content()` is of the form `&id[e]`, where `id` is an array-typed
37
+ // / symbol expression (and `e` is any expression), return the value of the
38
+ // / symbol `id` (as given by the `value` field of the symbol in the namespace
39
+ // / `ns`); otherwise return an empty optional.
40
+ // /
41
+ // / \param s: refined string expression
42
+ // / \param ns: namespace
43
+ // / \return array expression representing the char sequence which forms the
44
+ // / content of the refined string expression, empty optional if the content
45
+ // / cannot be determined
34
46
optionalt<std::reference_wrapper<const array_exprt>>
35
47
try_get_string_data_array (const refined_string_exprt &s, const namespacet &ns);
36
48
You can’t perform that action at this time.
0 commit comments