| 505 | } |
| 506 | |
| 507 | QList<Declaration*> DUChainUtils::inheriters(const Declaration* decl, uint& maxAllowedSteps, bool collectVersions) |
| 508 | { |
| 509 | auto inheriters = inheritersInternal(decl, maxAllowedSteps, collectVersions); |
| 510 | |
| 511 | // remove duplicates |
| 512 | std::sort(inheriters.begin(), inheriters.end()); |
| 513 | inheriters.erase(std::unique(inheriters.begin(), inheriters.end()), inheriters.end()); |
| 514 | |
| 515 | return inheriters; |
| 516 | } |
| 517 | |
| 518 | QList<Declaration*> DUChainUtils::overriders(const Declaration* currentClass, const Declaration* overriddenDeclaration, uint& maxAllowedSteps) { |
| 519 | QList<Declaration*> ret; |
nothing calls this directly
no test coverage detected