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

Method setDeclaration

kdevplatform/language/duchain/types/identifiedtype.cpp:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void IdentifiedType::setDeclaration(Declaration* declaration)
76{
77 if (declaration)
78 idData()->m_id = declaration->id();
79 else
80 idData()->m_id = DeclarationId();
81}
82
83// QString IdentifiedType::idMangled() const
84// {

Callers

nothing calls this directly

Calls 2

DeclarationIdClass · 0.70
idMethod · 0.45

Tested by

no test coverage detected