MCPcopy Create free account
hub / github.com/WheretIB/nullc / SelectFunctionsForHash

Function SelectFunctionsForHash

NULLC/Callbacks.cpp:3716–3726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3714}
3715
3716void SelectFunctionsForHash(unsigned funcNameHash, unsigned scope)
3717{
3718 HashMap<FunctionInfo*>::Node *curr = funcMap.first(funcNameHash);
3719 while(curr)
3720 {
3721 FunctionInfo *func = curr->value;
3722 if(func->visible && !((func->address & 0x80000000) && (func->address != -1)) && func->funcType && func->vTopSize >= scope)
3723 bestFuncList.push_back(func);
3724 curr = funcMap.next(curr);
3725 }
3726}
3727
3728unsigned SelectBestFunction(unsigned count, unsigned callArgCount, unsigned int &minRating, TypeInfo* forcedParentType)
3729{

Callers 7

actionMethod · 0.85
AddSetVariableNodeFunction · 0.85
AddMemberAccessNodeFunction · 0.85
ConvertFunctionToPointerFunction · 0.85
HasConstructorFunction · 0.85
AddMemberFunctionCallFunction · 0.85
AddFunctionCallNodeFunction · 0.85

Calls 3

firstMethod · 0.45
push_backMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected