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

Function TypeStop

NULLC/Callbacks.cpp:5088–5102  ·  view source on GitHub ↗

End of outside class member definition

Source from the content-addressed store, hash-verified

5086
5087// End of outside class member definition
5088void TypeStop()
5089{
5090 // Class members changed variable top, here we restore it to original position
5091 varTop = varInfoTop.back().varStackSize;
5092 // Remove all aliases defined inside class definition
5093 AliasInfo *info = newType->childAlias;
5094 while(info)
5095 {
5096 CodeInfo::classMap.remove(info->nameHash, info->type);
5097 info = info->next;
5098 }
5099 newType = NULL;
5100 // Remove class members from global scope
5101 EndBlock(false, false);
5102}
5103
5104void TypeGeneric(unsigned pos)
5105{

Callers 4

EndBlockFunction · 0.85
ParseFunctionDefinitionFunction · 0.85
ParseCustomConstructorFunction · 0.85

Calls 2

EndBlockFunction · 0.85
removeMethod · 0.80

Tested by

no test coverage detected