Skip to content

Commit 955f166

Browse files
author
Daniel Kroening
committed
add make_incomplete_goto without condition
This is to mirror the offering for complete gotos.
1 parent cbc48a8 commit 955f166

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/goto-programs/goto_program.h

+11
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,17 @@ class goto_programt
977977
{});
978978
}
979979

980+
static instructiont
981+
make_incomplete_goto(const source_locationt &l = source_locationt::nil())
982+
{
983+
return instructiont(
984+
static_cast<const codet &>(get_nil_irep()),
985+
l,
986+
INCOMPLETE_GOTO,
987+
true_exprt(),
988+
{});
989+
}
990+
980991
static instructiont make_incomplete_goto(
981992
const code_gotot &_code,
982993
const source_locationt &l = source_locationt::nil())

0 commit comments

Comments
 (0)