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

Method updateCodeModel

kdevplatform/language/duchain/declaration.cpp:605–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603}
604
605void Declaration::updateCodeModel()
606{
607 DUCHAIN_D(Declaration);
608 if (!d->m_identifier.isEmpty() && d->m_inSymbolTable) {
609 QualifiedIdentifier id(qualifiedIdentifier());
610 CodeModel::self().updateItem(url(), id, kindForDeclaration(this));
611 }
612}
613
614void Declaration::setInSymbolTable(bool inSymbolTable)
615{

Callers

nothing calls this directly

Calls 4

urlFunction · 0.85
kindForDeclarationFunction · 0.85
updateItemMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected