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

Method indexedDocuments

kdevplatform/language/duchain/duchain.cpp:1572–1583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1570}
1571
1572QList<IndexedString> DUChain::indexedDocuments() const
1573{
1574 QMutexLocker l(&sdDUChainPrivate->m_chainsMutex);
1575
1576 QList<IndexedString> ret;
1577 ret.reserve(sdDUChainPrivate->m_chainsByUrl.count());
1578 for (TopDUContext* top : std::as_const(sdDUChainPrivate->m_chainsByUrl)) {
1579 ret << top->url();
1580 }
1581
1582 return ret;
1583}
1584
1585void DUChain::documentActivated(KDevelop::IDocument* doc)
1586{

Callers

nothing calls this directly

Calls 3

reserveMethod · 0.45
countMethod · 0.45
urlMethod · 0.45

Tested by

no test coverage detected