comparison dmd/aggregate.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 aaade6ded589
children 96b404ba7eb0
comparison
equal deleted inserted replaced
796:6e7a4c3b64d2 797:340acf1535d0
43 class Value; 43 class Value;
44 class Constant; 44 class Constant;
45 class ConstantStruct; 45 class ConstantStruct;
46 class GlobalVariable; 46 class GlobalVariable;
47 } 47 }
48 struct DUnion;
49 48
50 struct AggregateDeclaration : ScopeDsymbol 49 struct AggregateDeclaration : ScopeDsymbol
51 { 50 {
52 Type *type; 51 Type *type;
53 unsigned storage_class; 52 unsigned storage_class;
256 void toDt(dt_t **pdt); 255 void toDt(dt_t **pdt);
257 void toDt2(dt_t **pdt, ClassDeclaration *cd); 256 void toDt2(dt_t **pdt, ClassDeclaration *cd);
258 257
259 Symbol *vtblsym; 258 Symbol *vtblsym;
260 259
261 // llvm
262 void offsetToIndex(Type* t, unsigned os, std::vector<unsigned>& result);
263
264 ClassDeclaration *isClassDeclaration() { return (ClassDeclaration *)this; } 260 ClassDeclaration *isClassDeclaration() { return (ClassDeclaration *)this; }
265 }; 261 };
266 262
267 struct InterfaceDeclaration : ClassDeclaration 263 struct InterfaceDeclaration : ClassDeclaration
268 { 264 {