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

Method id

kdevplatform/language/duchain/declaration.cpp:564–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564DeclarationId Declaration::id(bool forceDirect) const
565{
566 ENSURE_CAN_READ
567 if (inSymbolTable() && !forceDirect && !alwaysForceDirect())
568 return DeclarationId(qualifiedIdentifier(), additionalIdentity(), specialization());
569 else
570 return DeclarationId(IndexedDeclaration(const_cast<Declaration*>(this)), specialization());
571}
572
573bool Declaration::inSymbolTable() const
574{

Callers 11

ifFunction · 0.45
definitionMethod · 0.45
indexedImportersMethod · 0.45
importersMethod · 0.45
declarationHasUsesMethod · 0.45
ImportMethod · 0.45
applySpecializationMethod · 0.45
setDeclarationMethod · 0.45
startCollectingMethod · 0.45

Calls 2

DeclarationIdClass · 0.70
IndexedDeclarationClass · 0.70

Tested by 1

applySpecializationMethod · 0.36