We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4787717 commit 5035050Copy full SHA for 5035050
src/goto-programs/goto_program.h
@@ -432,6 +432,23 @@ class goto_programt
432
{
433
}
434
435
+ /// Constructor that can set all members
436
+ instructiont(
437
+ codet &&_code,
438
+ const irep_idt &_function,
439
+ source_locationt &&_source_location,
440
+ goto_program_instruction_typet _type,
441
+ exprt &&_guard,
442
+ targetst &&_targets)
443
+ : code(std::move(_code)),
444
+ function(_function),
445
+ source_location(std::move(_source_location)),
446
+ type(std::move(_type)),
447
+ guard(std::move(_guard)),
448
+ targets(std::move(_targets))
449
+ {
450
+ }
451
+
452
/// Swap two instructions
453
void swap(instructiont &instruction)
454
0 commit comments