| 547 | } |
| 548 | |
| 549 | bool DUChainUtils::contextHasUse(DUContext* context, Declaration* declaration) { |
| 550 | return hasUse(context, context->topContext()->indexForUsedDeclaration(declaration, false)); |
| 551 | } |
| 552 | |
| 553 | static uint countUses(DUContext* context, int usedDeclarationIndex) { |
| 554 | if(usedDeclarationIndex == std::numeric_limits<int>::max()) |
nothing calls this directly
no test coverage detected