21 if(!gf_entry.second.body_available())
24 goto_functionst::function_mapt::const_iterator f_it =
28 !f_it->second.body_available())
40 bool function_access_changed =
42 bool class_access_changed =
false;
43 bool field_access_changed =
false;
50 class_access_changed =
54 for(
const auto &field1 : class_type1.
components())
56 for(
const auto &field2 : class_type2.
components())
58 if(field1.get_name() == field2.get_name())
60 field_access_changed = field1.get_access() != field2.get_access();
64 if(field_access_changed)
68 if(function_access_changed || class_access_changed || field_access_changed)
74 if(!gf_entry.second.body.equals(f_it->second.body))
82 if(!gf_entry.second.body_available())
87 goto_functionst::function_mapt::const_iterator f_it =
91 !f_it->second.body_available())
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
virtual bool operator()()
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.
Syntactic GOTO-DIFF for Java.
std::optional< irep_idt > declaring_class(const symbolt &symbol)
Gets the identifier of the class which declared a given symbol.
#define CHECK_RETURN(CONDITION)
const class_typet & to_class_type(const typet &type)
Cast a typet to a class_typet.