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

Function FunctionPrepareDefault

NULLC/Callbacks.cpp:2978–2984  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2976}
2977
2978void FunctionPrepareDefault()
2979{
2980 // Remove function variables before parsing the default parameter so that arguments wouldn't be referenced
2981 FunctionInfo &lastFunc = *currDefinedFunc.back();
2982 for(VariableInfo *curr = lastFunc.firstParam; curr; curr = curr->next)
2983 varMap.remove(curr->nameHash, curr);
2984}
2985
2986void FunctionParameterDefault(const char* pos)
2987{

Callers 1

ParseFunctionVariablesFunction · 0.85

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected