MCPcopy Create free account
hub / github.com/KDE/kdevelop / contextCountUses

Method contextCountUses

kdevplatform/language/duchain/duchainutils.cpp:571–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571uint DUChainUtils::contextCountUses(DUContext* context, Declaration* declaration) {
572 return countUses(context, context->topContext()->indexForUsedDeclaration(declaration, false));
573}
574
575Declaration* DUChainUtils::overridden(const Declaration* decl) {
576 const auto* classFunDecl = dynamic_cast<const ClassFunctionDeclaration*>(decl);

Callers

nothing calls this directly

Calls 3

countUsesFunction · 0.70
topContextMethod · 0.45

Tested by

no test coverage detected