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

Method clearLocalDeclarations

kdevplatform/language/duchain/ducontext.cpp:1062–1070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1060}
1061
1062QVector<Declaration*> DUContext::clearLocalDeclarations()
1063{
1064 auto copy = m_dynamicData->m_localDeclarations;
1065 for (Declaration* dec : std::as_const(copy)) {
1066 dec->setContext(nullptr);
1067 }
1068
1069 return copy;
1070}
1071
1072QualifiedIdentifier DUContext::scopeIdentifier(bool includeClasses) const
1073{

Callers

nothing calls this directly

Calls 1

setContextMethod · 0.45

Tested by

no test coverage detected