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

Method GetCachedResolvedType

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:4850–4858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4848}
4849
4850BfType* BfResolvedTypeSet::LookupContext::GetCachedResolvedType(BfTypeReference* typeReference)
4851{
4852 if (typeReference == mRootTypeRef)
4853 return mRootResolvedType;
4854 BfType** typePtr = NULL;
4855 if (mResolvedTypeMap.TryGetValue(typeReference, &typePtr))
4856 return *typePtr;
4857 return NULL;
4858}
4859
4860void BfResolvedTypeSet::LookupContext::SetCachedResolvedType(BfTypeReference* typeReference, BfType* type)
4861{

Callers 4

ResolveTypeRef_RefMethod · 0.80
DoHashMethod · 0.80
GenericTypeEqualsMethod · 0.80
EqualsMethod · 0.80

Calls 1

TryGetValueMethod · 0.80

Tested by

no test coverage detected