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

Function hash

kdevplatform/language/duchain/indexeddeclaration.h:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 inline bool operator!=(const IndexedDeclaration& rhs) const { return !operator==(rhs); }
46
47 inline uint hash() const
48 {
49 if (isDummy())
50 return 0;
51 return KDevHash() << m_topContext << m_declarationIndex;
52 }
53
54 ///@warning The duchain needs to be locked when this is called
55 inline bool isValid() const

Callers

nothing calls this directly

Calls 2

KDevHashClass · 0.85
isDummyFunction · 0.70

Tested by

no test coverage detected