@@ -64,11 +64,6 @@ struct simplify_expr_cachet
64
64
simplify_expr_cachet simplify_expr_cache;
65
65
#endif
66
66
67
- static optionalt<std::reference_wrapper<const array_exprt>>
68
- try_get_string_data_array (
69
- const refined_string_exprt &s,
70
- const namespacet &ns);
71
-
72
67
simplify_exprt::resultt<> simplify_exprt::simplify_abs (const abs_exprt &expr)
73
68
{
74
69
if (expr.op ().is_constant ())
@@ -1670,22 +1665,8 @@ optionalt<std::string> simplify_exprt::expr2bits(
1670
1665
return {};
1671
1666
}
1672
1667
1673
- // / Get char sequence from refined string expression
1674
- // /
1675
- // / If `s.content()` is of the form `&id[e]`, where `id` is an array-typed
1676
- // / symbol expression (and `e` is any expression), return the value of the
1677
- // / symbol `id` (as given by the `value` field of the symbol in the namespace
1678
- // / `ns`); otherwise return an empty optional.
1679
- // /
1680
- // / \param s: refined string expression
1681
- // / \param ns: namespace
1682
- // / \return array expression representing the char sequence which forms the
1683
- // / content of the refined string expression, empty optional if the content
1684
- // / cannot be determined
1685
- static optionalt<std::reference_wrapper<const array_exprt>>
1686
- try_get_string_data_array (
1687
- const refined_string_exprt &s,
1688
- const namespacet &ns)
1668
+ optionalt<std::reference_wrapper<const array_exprt>>
1669
+ try_get_string_data_array (const refined_string_exprt &s, const namespacet &ns)
1689
1670
{
1690
1671
if (s.content ().id () != ID_address_of)
1691
1672
{
0 commit comments