MCPcopy Index your code
hub / github.com/TinyCC/tinycc / decl_initializer_alloc

Function decl_initializer_alloc

tccgen.c:8239–8502  ·  view source on GitHub ↗

parse an initializer for type 't' if 'has_init' is non zero, and allocate space in local or global data space ('r' is either VT_LOCAL or VT_CONST). If 'v' is non zero, then an associated variable 'v' of scope 'scope' is declared before initializers are parsed. If 'v' is zero, then a reference to the new object is put in the value stack. If 'has_init' is 2, a special parsing is do

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

unaryFunction · 0.85
declFunction · 0.85

Calls 15

sym_findFunction · 0.85
patch_storageFunction · 0.85
elfsymFunction · 0.85
type_sizeFunction · 0.85
sym_pushFunction · 0.85
tok_str_allocFunction · 0.85
tok_str_add_tokFunction · 0.85
nextFunction · 0.85
tok_str_addFunction · 0.85
skip_or_save_blockFunction · 0.85
unget_tokFunction · 0.85
begin_macroFunction · 0.85

Tested by

no test coverage detected