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 ab11447 commit 538c52bCopy full SHA for 538c52b
src/goto-programs/class_hierarchy.cpp
@@ -121,8 +121,14 @@ Function: class_hierarchyt::output
121
122
void class_hierarchyt::output(std::ostream &out) const
123
{
124
- //for(const auto & c : class_map)
125
- //{
126
- //out << c.first << ": " << c.second.parent << '\n';
127
- //}
+ for(const auto & c : class_map)
+ {
+ for(const auto & pa : c.second.parents)
+ out << "Parent of " << c.first << ": "
128
+ << pa << '\n';
129
+
130
+ for(const auto & ch : c.second.children)
131
+ out << "Child of " << c.first << ": "
132
+ << ch << '\n';
133
+ }
134
}
0 commit comments