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

Function TypeGeneric

NULLC/Callbacks.cpp:5104–5110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5102}
5103
5104void TypeGeneric(unsigned pos)
5105{
5106 newType->genericInfo = newType->CreateGenericContext(pos);
5107 newType->genericInfo->globalVarTop = varTop;
5108 newType->genericInfo->blockDepth = currDefinedFunc.size() ? currDefinedFunc.back()->vTopSize : 1;
5109 currType = newType;
5110}
5111
5112void TypeInstanceGeneric(const char* pos, TypeInfo* base, unsigned aliases, bool genericTemp)
5113{

Callers 1

ParseClassDefinitionFunction · 0.85

Calls 2

CreateGenericContextMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected