| 3913 | } |
| 3914 | |
| 3915 | bool Type::findDependency(const Type* ancestor) const |
| 3916 | { |
| 3917 | return this == ancestor || std::any_of(derivedFrom.cbegin(), derivedFrom.cend(), [&](const BaseInfo& d) { |
| 3918 | return d.type && (d.type == this || d.type->findDependency(ancestor)); |
| 3919 | }); |
| 3920 | } |
| 3921 | |
| 3922 | bool Type::isDerivedFrom(const std::string & ancestor) const |
| 3923 | { |
no outgoing calls
no test coverage detected