| 1413 | } |
| 1414 | |
| 1415 | void 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 | |
| 1427 | void ClangCodeCompletionContext::addOverwritableItems() |
| 1428 | { |
nothing calls this directly
no test coverage detected