mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-29 17:50:05 +02:00
Added Doxygen file.
Completely seperated type and symbol generation. Should fix a lot of bugs, but is not yet 100% complete.
This commit is contained in:
@@ -1069,7 +1069,8 @@ LLConstant* DtoConstInitializer(Loc loc, Type* type, Initializer* init)
|
||||
else if (StructInitializer* si = init->isStructInitializer())
|
||||
{
|
||||
Logger::println("const struct initializer");
|
||||
_init = DtoConstStructInitializer(si);
|
||||
si->ad->codegen(Type::sir);
|
||||
return si->ad->ir.irStruct->createStructInitializer(si);
|
||||
}
|
||||
else if (ArrayInitializer* ai = init->isArrayInitializer())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user