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

Method copy

kdevplatform/language/duchain/duchainregister.cpp:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void DUChainItemSystem::copy(const DUChainBaseData& from, DUChainBaseData& to, bool constant) const
73{
74 if (uint(m_factories.size()) <= from.classId || m_factories[from.classId] == nullptr) {
75 ENSURE_VALID_CLASSID(from.classId)
76 return;
77 }
78 m_factories[from.classId]->copy(from, to, constant);
79}
80
81DUChainItemSystem& DUChainItemSystem::self()
82{

Callers 3

copyUrlMethod · 0.45
saveDUChainItemFunction · 0.45
createItemMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected