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

Method updateContextEnvironment

kdevplatform/language/duchain/duchain.cpp:1312–1321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1310}
1311
1312void DUChain::updateContextEnvironment(TopDUContext* context, ParsingEnvironmentFile* file)
1313{
1314 QMutexLocker l(&sdDUChainPrivate->m_chainsMutex);
1315
1316 removeFromEnvironmentManager(context);
1317
1318 context->setParsingEnvironmentFile(file);
1319
1320 addToEnvironmentManager(context);
1321}
1322
1323void DUChain::removeDocumentChain(TopDUContext* context)
1324{

Callers 2

runMethod · 0.80
runMethod · 0.80

Calls 1

Tested by

no test coverage detected