Skip to content

Commit 3067e9b

Browse files
author
Daniel Kroening
committed
deprecate codet::make_block
This method isn't type safe. It has no users in the code base.
1 parent 33e1656 commit 3067e9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util/std_code.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ class codet:public exprt
6262
const codet &first_statement() const;
6363
codet &last_statement();
6464
const codet &last_statement() const;
65+
66+
DEPRECATED("use code_blockt(...) instead")
6567
class code_blockt &make_block();
6668

6769
/// Check that the code statement is well-formed (shallow checks only, i.e.,

0 commit comments

Comments
 (0)