cprover
remove_unreachable.h File Reference

Program Transformation. More...

#include "goto_functions.h"
Include dependency graph for remove_unreachable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void remove_unreachable (goto_programt &goto_program)
 remove unreachable code More...
 
void remove_unreachable (goto_functionst &goto_functions)
 Removes unreachable instructions from all functions. More...
 

Detailed Description

Program Transformation.

Definition in file remove_unreachable.h.

Function Documentation

§ remove_unreachable() [1/2]

§ remove_unreachable() [2/2]

void remove_unreachable ( goto_functionst goto_functions)

Removes unreachable instructions from all functions.

parameters: The goto functions from which the unreachable functions are
to be removed.
Returns
None.

Definition at line 55 of file remove_unreachable.cpp.

References Forall_goto_functions, and remove_unreachable().