Mercurial > projects > ldc
comparison dmd/dsymbol.h @ 913:29c0d1194033
Fix #198 and #199 by making CTFE on static struct initializers work.
Renamed SymbolDeclaration to StaticStructInitDeclaration to make its usage clearer.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 01 Feb 2009 20:20:56 +0100 |
parents | 44f08170f4ef |
children | 1714836f2c0b |
comparison
equal
deleted
inserted
replaced
912:16264a3973bf | 913:29c0d1194033 |
---|---|
63 struct TemplateMixin; | 63 struct TemplateMixin; |
64 struct EnumMember; | 64 struct EnumMember; |
65 struct ScopeDsymbol; | 65 struct ScopeDsymbol; |
66 struct WithScopeSymbol; | 66 struct WithScopeSymbol; |
67 struct ArrayScopeSymbol; | 67 struct ArrayScopeSymbol; |
68 struct SymbolDeclaration; | 68 struct StaticStructInitDeclaration; |
69 struct Expression; | 69 struct Expression; |
70 struct DeleteDeclaration; | 70 struct DeleteDeclaration; |
71 struct HdrGenState; | 71 struct HdrGenState; |
72 struct TypeInfoDeclaration; | 72 struct TypeInfoDeclaration; |
73 struct ClassInfoDeclaration; | 73 struct ClassInfoDeclaration; |
214 virtual Import *isImport() { return NULL; } | 214 virtual Import *isImport() { return NULL; } |
215 virtual EnumDeclaration *isEnumDeclaration() { return NULL; } | 215 virtual EnumDeclaration *isEnumDeclaration() { return NULL; } |
216 #ifdef _DH | 216 #ifdef _DH |
217 virtual DeleteDeclaration *isDeleteDeclaration() { return NULL; } | 217 virtual DeleteDeclaration *isDeleteDeclaration() { return NULL; } |
218 #endif | 218 #endif |
219 virtual SymbolDeclaration *isSymbolDeclaration() { return NULL; } | 219 virtual StaticStructInitDeclaration *isStaticStructInitDeclaration() { return NULL; } |
220 virtual AttribDeclaration *isAttribDeclaration() { return NULL; } | 220 virtual AttribDeclaration *isAttribDeclaration() { return NULL; } |
221 virtual TypeInfoDeclaration* isTypeInfoDeclaration() { return NULL; } | 221 virtual TypeInfoDeclaration* isTypeInfoDeclaration() { return NULL; } |
222 virtual ClassInfoDeclaration* isClassInfoDeclaration() { return NULL; } | 222 virtual ClassInfoDeclaration* isClassInfoDeclaration() { return NULL; } |
223 | 223 |
224 // llvm stuff | 224 // llvm stuff |