comparison dmd2/mtype.h @ 1526:54b3c1394d62

Merged dmdfe 2.031.
author Robert Clipsham <robert@octarineparrot.com>
date Tue, 07 Jul 2009 02:26:11 +0100
parents 638d16625da2
children e4f7b5d9c68a
comparison
equal deleted inserted replaced
1525:d28cd7c45267 1526:54b3c1394d62
304 virtual Type *reliesOnTident(); 304 virtual Type *reliesOnTident();
305 virtual Expression *toExpression(); 305 virtual Expression *toExpression();
306 virtual int hasPointers(); 306 virtual int hasPointers();
307 //Type *next; 307 //Type *next;
308 virtual Type *nextOf(); 308 virtual Type *nextOf();
309 uinteger_t sizemask();
310
309 311
310 static void error(Loc loc, const char *format, ...) IS_PRINTF(2); 312 static void error(Loc loc, const char *format, ...) IS_PRINTF(2);
311 static void warning(Loc loc, const char *format, ...) IS_PRINTF(2); 313 static void warning(Loc loc, const char *format, ...) IS_PRINTF(2);
312 314
313 #if IN_DMD 315 #if IN_DMD
712 struct TypeEnum : Type 714 struct TypeEnum : Type
713 { 715 {
714 EnumDeclaration *sym; 716 EnumDeclaration *sym;
715 717
716 TypeEnum(EnumDeclaration *sym); 718 TypeEnum(EnumDeclaration *sym);
719 Type *syntaxCopy();
717 d_uns64 size(Loc loc); 720 d_uns64 size(Loc loc);
718 unsigned alignsize(); 721 unsigned alignsize();
719 char *toChars(); 722 char *toChars();
720 Type *syntaxCopy();
721 Type *semantic(Loc loc, Scope *sc); 723 Type *semantic(Loc loc, Scope *sc);
722 Dsymbol *toDsymbol(Scope *sc); 724 Dsymbol *toDsymbol(Scope *sc);
723 void toDecoBuffer(OutBuffer *buf, int flag, bool mangle); 725 void toDecoBuffer(OutBuffer *buf, int flag, bool mangle);
724 void toCBuffer2(OutBuffer *buf, HdrGenState *hgs, int mod); 726 void toCBuffer2(OutBuffer *buf, HdrGenState *hgs, int mod);
725 Expression *dotExp(Scope *sc, Expression *e, Identifier *ident); 727 Expression *dotExp(Scope *sc, Expression *e, Identifier *ident);