CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
slice_global_inits.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Remove initializations of unused global variables
4
5Author: Daniel Poetzl
6
7Date: December 2016
8
9\*******************************************************************/
10
13
14#ifndef CPROVER_GOTO_PROGRAMS_SLICE_GLOBAL_INITS_H
15#define CPROVER_GOTO_PROGRAMS_SLICE_GLOBAL_INITS_H
16
18
19class goto_modelt;
21
23{
24public:
25 explicit user_input_error_exceptiont(std::string message)
26 : cprover_exception_baset(std::move(message))
27 {
28 }
29};
30
35 goto_modelt &goto_model,
36 message_handlert &message_handler);
37
38#endif
Base class for exceptions thrown in the cprover project.
Definition c_errors.h:64
user_input_error_exceptiont(std::string message)
STL namespace.
void slice_global_inits(goto_modelt &goto_model, message_handlert &message_handler)
Remove initialization of global variables that are not used in any function reachable from the entry ...