comparison dmd/attrib.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 20a5180f2e80
children dbe4af57b240
comparison
equal deleted inserted replaced
796:6e7a4c3b64d2 797:340acf1535d0
48 void checkCtorConstInit(); 48 void checkCtorConstInit();
49 void addLocalClass(ClassDeclarations *); 49 void addLocalClass(ClassDeclarations *);
50 void toCBuffer(OutBuffer *buf, HdrGenState *hgs); 50 void toCBuffer(OutBuffer *buf, HdrGenState *hgs);
51 AttribDeclaration *isAttribDeclaration() { return this; } 51 AttribDeclaration *isAttribDeclaration() { return this; }
52 52
53 void toObjFile(int multiobj); // compile to .obj file 53 virtual void toObjFile(int multiobj); // compile to .obj file
54 int cvMember(unsigned char *p); 54 int cvMember(unsigned char *p);
55 }; 55 };
56 56
57 struct StorageClassDeclaration: AttribDeclaration 57 struct StorageClassDeclaration: AttribDeclaration
58 { 58 {
105 AnonDeclaration(Loc loc, int isunion, Array *decl); 105 AnonDeclaration(Loc loc, int isunion, Array *decl);
106 Dsymbol *syntaxCopy(Dsymbol *s); 106 Dsymbol *syntaxCopy(Dsymbol *s);
107 void semantic(Scope *sc); 107 void semantic(Scope *sc);
108 void toCBuffer(OutBuffer *buf, HdrGenState *hgs); 108 void toCBuffer(OutBuffer *buf, HdrGenState *hgs);
109 const char *kind(); 109 const char *kind();
110
111 // LDC
112 void toObjFile(int multiobj); // compile to .obj file
110 }; 113 };
111 114
112 struct PragmaDeclaration : AttribDeclaration 115 struct PragmaDeclaration : AttribDeclaration
113 { 116 {
114 Expressions *args; // array of Expression's 117 Expressions *args; // array of Expression's