Next: , Previous: Slices, Up: Predefined Rules


23.7.61 Too_Many_Parents

Flags any type declaration, single task declaration or single protected declaration that has more then N parents, N is a parameter of the rule. A parent here is either a (sub)type denoted by the subtype mark from the parent_subtype_indication (in case of a derived type declaration), or any of the progenitors from the interface list, if any.

This rule has the following (mandatory) parameters for the +R option:

N
Positive integer specifying the maximal allowed number of parents.