Mercurial > projects > ldc
comparison dmd/mtype.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 | f04dde6e882c |
children | 330f999ade44 |
comparison
equal
deleted
inserted
replaced
796:6e7a4c3b64d2 | 797:340acf1535d0 |
---|---|
449 { | 449 { |
450 TypeDelegate(Type *t); | 450 TypeDelegate(Type *t); |
451 Type *syntaxCopy(); | 451 Type *syntaxCopy(); |
452 Type *semantic(Loc loc, Scope *sc); | 452 Type *semantic(Loc loc, Scope *sc); |
453 d_uns64 size(Loc loc); | 453 d_uns64 size(Loc loc); |
454 unsigned alignsize(); // added in LDC | |
454 void toCBuffer2(OutBuffer *buf, HdrGenState *hgs, int mod); | 455 void toCBuffer2(OutBuffer *buf, HdrGenState *hgs, int mod); |
455 Expression *defaultInit(Loc loc); | 456 Expression *defaultInit(Loc loc); |
456 int isZeroInit(); | 457 int isZeroInit(); |
457 int checkBoolean(); | 458 int checkBoolean(); |
458 TypeInfoDeclaration *getTypeInfoDeclaration(); | 459 TypeInfoDeclaration *getTypeInfoDeclaration(); |