Mercurial > projects > ldc
comparison ir/irvar.h @ 797:340acf1535d0
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 !!!
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 21:25:43 +0100 |
parents | eef8ac26c66c |
children | 8699c450a1a0 |
comparison
equal
deleted
inserted
replaced
796:6e7a4c3b64d2 | 797:340acf1535d0 |
---|---|
32 // represents an aggregate field variable | 32 // represents an aggregate field variable |
33 struct IrField : IrVar | 33 struct IrField : IrVar |
34 { | 34 { |
35 IrField(VarDeclaration* v); | 35 IrField(VarDeclaration* v); |
36 | 36 |
37 int index; | 37 unsigned index; |
38 size_t indexOffset; | 38 unsigned unionOffset; |
39 | |
39 llvm::Constant* constInit; | 40 llvm::Constant* constInit; |
40 }; | 41 }; |
41 | 42 |
42 #endif | 43 #endif |