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

Method ResolveSubTypeRef

IDEHelper/DbgExprEvaluator.cpp:873–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871}
872
873DbgType* 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
893DbgType* DbgExprEvaluator::FixType(DbgType* dbgType)
894{

Callers

nothing calls this directly

Calls 2

PopulateTypeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected