comparison dmd/module.h @ 486:a34078905d01

Added pragma(llvmdc, "string") for misc per-module compiler configuration, currently "string" can only be "verbose" which forces -vv for module it appears in. Reimplemented support for nested functions/class using a new approach. Added error on taking address of intrinsic. Fixed problems with the ->syntaxCopy of TypeFunction delegate exp. Removed DtoDType and replaced all uses with ->toBasetype() instead. Removed unused inplace stuff. Fixed a bunch of issues in the runtime unittests, not complete yet. Added mini tests.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 10 Aug 2008 08:37:38 +0200
parents ecf70fe065b9
children 7824c21a58e3
comparison
equal deleted inserted replaced
485:50f6e2337a6b 486:a34078905d01
64 64
65 const char *arg; // original argument name 65 const char *arg; // original argument name
66 ModuleDeclaration *md; // if !NULL, the contents of the ModuleDeclaration declaration 66 ModuleDeclaration *md; // if !NULL, the contents of the ModuleDeclaration declaration
67 File *srcfile; // input source file 67 File *srcfile; // input source file
68 File *objfile; // output .obj file 68 File *objfile; // output .obj file
69
70 // LLVMDC
69 File *bcfile; // output .bc file 71 File *bcfile; // output .bc file
70 File *llfile; // output .ll file 72 File *llfile; // output .ll file
73
71 File *hdrfile; // 'header' file 74 File *hdrfile; // 'header' file
72 File *symfile; // output symbol file 75 File *symfile; // output symbol file
73 File *docfile; // output documentation file 76 File *docfile; // output documentation file
74 unsigned errors; // if any errors in file 77 unsigned errors; // if any errors in file
75 unsigned numlines; // number of lines in source file 78 unsigned numlines; // number of lines in source file
169 Symbol *toSymbol(); 172 Symbol *toSymbol();
170 void genmoduleinfo(); 173 void genmoduleinfo();
171 174
172 // LLVMDC 175 // LLVMDC
173 Module *isModule() { return this; } 176 Module *isModule() { return this; }
177
178 bool llvmForceLogging;
174 }; 179 };
175 180
176 181
177 struct ModuleDeclaration 182 struct ModuleDeclaration
178 { 183 {