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

Method get

kdevplatform/language/duchain/specializationstore.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34IndexedInstantiationInformation SpecializationStore::get(const DeclarationId& declaration)
35{
36 QHash<DeclarationId, IndexedInstantiationInformation>::const_iterator it = m_specializations.constFind(declaration);
37 if (it != m_specializations.constEnd())
38 return *it;
39 else
40 return IndexedInstantiationInformation();
41}
42
43void SpecializationStore::clear(const DeclarationId& declaration)
44{

Callers 1

testTypePtrMethod · 0.45

Calls 3

constEndMethod · 0.80
constFindMethod · 0.45

Tested by

no test coverage detected