1 #ifndef CLASS_HIERARCHY_GRAPH_H
2 #define CLASS_HIERARCHY_GRAPH_H
6 #include <boost/unordered_set.hpp>
11 typedef boost::unordered_set<SgClassDefinition*> ClassDefSet;
13 typedef boost::unordered_map<std::string, ClassDefSet> MangledNameToClassDefsMap;
19 MangledNameToClassDefsMap directParents;
22 MangledNameToClassDefsMap directChildren;
25 MangledNameToClassDefsMap ancestorClasses;
28 MangledNameToClassDefsMap subclasses;
30 #if 0 // [Robb Matzke 2021-03-17]: unused
47 static void buildAncestorsMap(
const MangledNameToClassDefsMap& parents, MangledNameToClassDefsMap& transitiveParents);