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

Method create

kdevplatform/language/duchain/types/typeregister.cpp:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11namespace KDevelop {
12AbstractType* TypeSystem::create(AbstractTypeData* data) const
13{
14 Q_ASSERT(data);
15 if (!ensureFactoryLoaded(*data)) {
16 return nullptr;
17 }
18 return m_factories.value(data->typeClassId)->create(data);
19}
20
21void TypeSystem::callDestructor(AbstractTypeData* data) const
22{

Callers 5

createItemMethod · 0.45
equalsMethod · 0.45
typeForIndexMethod · 0.45
hashMethod · 0.45
benchTypeRegistryMethod · 0.45

Calls 1

valueMethod · 0.45

Tested by 1

benchTypeRegistryMethod · 0.36