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

Method clearUsedDeclarationIndices

kdevplatform/language/duchain/topducontext.cpp:1123–1130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1121}
1122
1123void TopDUContext::clearUsedDeclarationIndices()
1124{
1125 ENSURE_CAN_WRITE
1126 for (unsigned int a = 0; a < d_func()->m_usedDeclarationIdsSize(); ++a)
1127 DUChain::uses()->removeUse(d_func()->m_usedDeclarationIds()[a], this);
1128
1129 d_func_dynamic()->m_usedDeclarationIdsList().clear();
1130}
1131
1132void TopDUContext::deleteUsesRecursively()
1133{

Callers 1

buildUsesMethod · 0.80

Calls 2

removeUseMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected