Mercurial > projects > ldc
comparison dmd/dsymbol.h @ 946:1714836f2c0b
Mostly rewrite debug info generation in terms of llvm/Analysis/DebugInfo.h.
Add getCompilationModule to Dsymbol and fix template compile unit decision code.
Runtime compiles with -g again.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 08 Feb 2009 16:50:22 +0100 |
parents | 29c0d1194033 |
children | 1860414bf3b7 |
comparison
equal
deleted
inserted
replaced
945:03d7c4aac654 | 946:1714836f2c0b |
---|---|
117 int equals(Object *o); | 117 int equals(Object *o); |
118 int isAnonymous(); | 118 int isAnonymous(); |
119 void error(Loc loc, const char *format, ...); | 119 void error(Loc loc, const char *format, ...); |
120 void error(const char *format, ...); | 120 void error(const char *format, ...); |
121 void checkDeprecated(Loc loc, Scope *sc); | 121 void checkDeprecated(Loc loc, Scope *sc); |
122 Module *getModule(); | 122 Module *getModule(); // module where declared |
123 Module *getCompilationModule(); // possibly different for templates | |
123 Dsymbol *pastMixin(); | 124 Dsymbol *pastMixin(); |
124 Dsymbol *toParent(); | 125 Dsymbol *toParent(); |
125 Dsymbol *toParent2(); | 126 Dsymbol *toParent2(); |
126 TemplateInstance *inTemplateInstance(); | 127 TemplateInstance *inTemplateInstance(); |
127 | 128 |