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

Method IsParamSkipped

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:1313–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1311}
1312
1313bool BfMethodInstance::IsParamSkipped(int paramIdx)
1314{
1315 auto resolveModule = GetModule()->mContext->mUnreifiedModule;
1316 if (paramIdx == -1)
1317 return false;
1318 BfType* paramType = GetParamType(paramIdx);
1319 if ((paramType->CanBeValuelessType()) && (paramType->IsDataIncomplete()))
1320 resolveModule->PopulateType(paramType, BfPopulateType_Data);
1321 if ((paramType->IsValuelessNonOpaqueType()) && (!paramType->IsMethodRef()))
1322 return true;
1323 return false;
1324}
1325
1326bool BfMethodInstance::IsImplicitCapture(int paramIdx)
1327{

Callers 6

AddDeferredCallEntryMethod · 0.80
SetupIRMethodMethod · 0.80
DoMethodDeclarationMethod · 0.80

Calls 5

CanBeValuelessTypeMethod · 0.45
IsDataIncompleteMethod · 0.45
PopulateTypeMethod · 0.45
IsMethodRefMethod · 0.45

Tested by

no test coverage detected