Skip to content

Commit ae04275

Browse files
committed
[CLEANUP] Remove string_constantt::get_value and string_constantt::set_value.
Marked `DEPRECATED` over the `value()` calls (they were already working by dispatching to `value()`, so they were kind of a useless indirection/duplication).
1 parent d49921b commit ae04275

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/util/string_constant.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@ class string_constantt : public nullary_exprt
1616
public:
1717
explicit string_constantt(const irep_idt &);
1818

19-
DEPRECATED(SINCE(2023, 10, 31, "use value(...)"))
20-
void set_value(const irep_idt &_value)
21-
{
22-
value(_value);
23-
}
24-
2519
void value(const irep_idt &);
2620

27-
DEPRECATED(SINCE(2023, 10, 31, "use value()"))
28-
const irep_idt &get_value() const
29-
{
30-
return value();
31-
}
32-
3321
const irep_idt &value() const
3422
{
3523
return get(ID_value);

0 commit comments

Comments
 (0)