mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-18 01:39:03 +02:00
Removed KDevelop3 project files, CMake can generate them just fine!
Fixed function literals in static initializers. Changed alignment of delegates from 2*PTRSIZE to just PTRSIZE. Changed errors to go to stderr instead of stdout. Fairly major rewriting of struct/union/class handling, STILL A BIT BUGGY !!!
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "gen/llvm.h"
|
||||
#include "declaration.h"
|
||||
#include "ir/irvar.h"
|
||||
|
||||
@@ -38,8 +38,8 @@ IrLocal::IrLocal(VarDeclaration* v) : IrVar(v)
|
||||
|
||||
IrField::IrField(VarDeclaration* v) : IrVar(v)
|
||||
{
|
||||
index = -1;
|
||||
indexOffset = 0;
|
||||
index = 0;
|
||||
unionOffset = 0;
|
||||
constInit = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user