| 1421 | } |
| 1422 | |
| 1423 | BfProject* 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 | |
| 1434 | bool BfAutoComplete::WantsEntries() |
| 1435 | { |
nothing calls this directly
no test coverage detected