We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18d08bf commit 147f05dCopy full SHA for 147f05d
src/goto-programs/class_hierarchy.cpp
@@ -50,6 +50,8 @@ void class_hierarchy_grapht::populate(const symbol_tablet &symbol_table)
50
const irep_idt &parent = to_symbol_type(base.type()).get_identifier();
51
if(!parent.empty())
52
{
53
+ DATA_INVARIANT(nodes_by_name.find(parent)!=nodes_by_name.end(),
54
+ "parent class not in symbol table");
55
add_edge(
56
nodes_by_name.at(parent), nodes_by_name.at(symbol_pair.first));
57
}
0 commit comments