MCPcopy Create free account
hub / github.com/beefytech/Beef / GetActiveProject

Method GetActiveProject

IDEHelper/Compiler/BfAutoComplete.cpp:1423–1432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1421}
1422
1423BfProject* BfAutoComplete::GetActiveProject()
1424{
1425 BfProject* bfProject = NULL;
1426 auto activeTypeDef = mModule->GetActiveTypeDef();
1427 if (activeTypeDef != NULL)
1428 bfProject = activeTypeDef->mProject;
1429 else if (!mCompiler->mResolvePassData->mParsers.IsEmpty())
1430 bfProject = mCompiler->mResolvePassData->mParsers[0]->mProject;
1431 return bfProject;
1432}
1433
1434bool BfAutoComplete::WantsEntries()
1435{

Callers

nothing calls this directly

Calls 2

GetActiveTypeDefMethod · 0.80
IsEmptyMethod · 0.45

Tested by

no test coverage detected