| 1513 | } |
| 1514 | |
| 1515 | DbgType* DbgType::GetPrimaryType() |
| 1516 | { |
| 1517 | if (mPrimaryType != NULL) |
| 1518 | return mPrimaryType; |
| 1519 | |
| 1520 | mPrimaryType = this; |
| 1521 | if (mPriority <= DbgTypePriority_Normal) |
| 1522 | { |
| 1523 | if ((mCompileUnit != NULL) && |
| 1524 | ((mCompileUnit->mLanguage == DbgLanguage_Beef)|| (mLanguage == DbgLanguage_Beef) || |
| 1525 | (mTypeCode == DbgType_Namespace) || (mIsDeclaration))) |
| 1526 | { |
| 1527 | mPrimaryType = mCompileUnit->mDbgModule->GetPrimaryType(this); |
| 1528 | mPrimaryType->PopulateType(); |
| 1529 | mTypeCode = mPrimaryType->mTypeCode; |
| 1530 | mTypeParam = mPrimaryType->mTypeParam; |
| 1531 | } |
| 1532 | } |
| 1533 | |
| 1534 | return mPrimaryType; |
| 1535 | } |
| 1536 | |
| 1537 | DbgType* DbgType::GetBaseType() |
| 1538 | { |
no test coverage detected