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

Method IsSpecializedGenericMethodOrType

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:922–931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920}
921
922bool Beefy::BfMethodInstance::IsSpecializedGenericMethodOrType()
923{
924 if ((mMethodInfoEx != NULL) && (mMethodInfoEx->mGenericParams.size() != 0) && (!mIsUnspecialized))
925 return true;
926 auto owner = GetOwner();
927 if (!owner->IsGenericTypeInstance())
928 return false;
929 BfTypeInstance* genericTypeInstance = (BfTypeInstance*)owner;
930 return !genericTypeInstance->mGenericTypeInfo->mIsUnspecialized;
931}
932
933bool BfMethodInstance::IsSpecializedByAutoCompleteMethod()
934{

Callers 3

VisitCodeBlockMethod · 0.80
WarnMethod · 0.80
DoMethodDeclarationMethod · 0.80

Calls 2

sizeMethod · 0.45
IsGenericTypeInstanceMethod · 0.45

Tested by

no test coverage detected