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

Function isNewGroup

kdevplatform/language/duchain/navigation/useswidget.cpp:361–367  ·  view source on GitHub ↗

Returns whether the uses in the child should be a new uses-group

Source from the content-addressed store, hash-verified

359
360///Returns whether the uses in the child should be a new uses-group
361bool isNewGroup(DUContext* parent, DUContext* child)
362{
363 if (parent->type() == DUContext::Other && child->type() == DUContext::Other)
364 return false;
365 else
366 return true;
367}
368
369uint countUses(int usedDeclarationIndex, DUContext* context)
370{

Callers 3

countUsesFunction · 0.85
createUseWidgetsFunction · 0.85
buildContextUsesFunction · 0.85

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected