ClassHierarchyWrapper::buildAncestorsMap¶
Computes the transitive closure of the child-parent class relationship.
Synopsis¶
Declared in <src/midend/programAnalysis/CallGraphAnalysis/ClassHierarchyGraph.h>
static
void
buildAncestorsMap(
ClassDefMap const& parents,
ClassDefMap& transitiveParents); Parameters¶
| Name | Description |
|---|---|
| parents | map from each class to its parents. |
| transitiveParents | map from each class to all its ancestors |
Created with MrDocs