Order of function resolution is different. Function prototypes resolved first. Same with LLVM gen. Designated initializer and anonymous fields fixed mostly.

This commit is contained in:
Christoffer Lerno
2020-04-12 19:59:00 +02:00
committed by Christoffer Lerno
parent 9bf89574f9
commit 1d73338fb0
15 changed files with 514 additions and 154 deletions

View File

@@ -223,7 +223,6 @@ void gencontext_emit_function_decl(GenContext *context, Decl *decl)
0);
LLVMSetSubprogram(decl->func.backend_value, context->debug.function);
}
if (decl->func.body) gencontext_emit_function_body(context, decl);
}
void gencontext_emit_extern_decl(GenContext *context, Decl *decl)