20 if(!gf_entry.second.body_available())
23 goto_functionst::function_mapt::const_iterator f_it =
26 !f_it->second.body_available())
38 bool function_access_changed =
40 bool class_access_changed =
false;
41 bool field_access_changed =
false;
42 if(!class_name.
empty())
48 class_access_changed =
52 for(
const auto &field1 : class_type1.
components())
54 for(
const auto &field2 : class_type2.
components())
56 if(field1.get_name() == field2.get_name())
58 field_access_changed = field1.get_access() != field2.get_access();
62 if(field_access_changed)
66 if(function_access_changed || class_access_changed || field_access_changed)
72 if(!gf_entry.second.body.equals(f_it->second.body))
80 if(!gf_entry.second.body_available())
85 goto_functionst::function_mapt::const_iterator f_it =
88 !f_it->second.body_available())
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
std::set< irep_idt > modified_functions
const goto_modelt & goto_model1
std::set< irep_idt > new_functions
unsigned total_functions_count
std::set< irep_idt > deleted_functions
const goto_modelt & goto_model2
function_mapt function_map
symbol_tablet symbol_table
Symbol table.
goto_functionst goto_functions
GOTO functions.
const irep_idt & get(const irep_idt &name) const
const componentst & components() const
const symbolt * lookup(const irep_idt &name) const
Find a symbol in the symbol table for read-only access.
typet type
Type of symbol.
virtual bool operator()()
#define CHECK_RETURN(CONDITION)
const class_typet & to_class_type(const typet &type)
Cast a typet to a class_typet.