| 871 | } |
| 872 | |
| 873 | DbgType* DbgExprEvaluator::ResolveSubTypeRef(DbgType* checkType, const StringImpl& name) |
| 874 | { |
| 875 | checkType->PopulateType(); |
| 876 | |
| 877 | for (auto subType : checkType->mSubTypeList) |
| 878 | { |
| 879 | if (strcmp(subType->mTypeName, name.c_str()) == 0) |
| 880 | return subType; |
| 881 | } |
| 882 | |
| 883 | for (auto checkBaseType : checkType->mBaseTypes) |
| 884 | { |
| 885 | DbgType* subType = ResolveSubTypeRef(checkBaseType->mBaseType, name); |
| 886 | if (subType != NULL) |
| 887 | return subType; |
| 888 | } |
| 889 | |
| 890 | return NULL; |
| 891 | } |
| 892 | |
| 893 | DbgType* DbgExprEvaluator::FixType(DbgType* dbgType) |
| 894 | { |
nothing calls this directly
no test coverage detected