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

Method eventuallyAddGroup

plugins/clang/codecompletion/context.cpp:1415–1425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1413}
1414
1415void ClangCodeCompletionContext::eventuallyAddGroup(const QString& name, int priority,
1416 const QList<CompletionTreeItemPointer>& items)
1417{
1418 if (items.isEmpty()) {
1419 return;
1420 }
1421
1422 auto* node = new CompletionCustomGroupNode(name, priority);
1423 node->appendChildren(items);
1424 m_ungrouped << CompletionTreeElementPointer(node);
1425}
1426
1427void ClangCodeCompletionContext::addOverwritableItems()
1428{

Callers

nothing calls this directly

Calls 2

appendChildrenMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected