Mercurial > projects > ldc
comparison gen/llvmhelpers.h @ 433:b5f55f471e0b
Move DeclarationExp code into a helper function so it can call itself for template mixin members.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 30 Jul 2008 09:21:06 +0200 |
parents | fa91b03d9cd7 |
children | 74101be2a553 |
comparison
equal
deleted
inserted
replaced
432:ecf70fe065b9 | 433:b5f55f471e0b |
---|---|
69 void DtoEmptyAllLists(); | 69 void DtoEmptyAllLists(); |
70 void DtoForceDeclareDsymbol(Dsymbol* dsym); | 70 void DtoForceDeclareDsymbol(Dsymbol* dsym); |
71 void DtoForceConstInitDsymbol(Dsymbol* dsym); | 71 void DtoForceConstInitDsymbol(Dsymbol* dsym); |
72 void DtoForceDefineDsymbol(Dsymbol* dsym); | 72 void DtoForceDefineDsymbol(Dsymbol* dsym); |
73 | 73 |
74 // declaration inside a declarationexp | |
75 DValue* DtoDeclarationExp(Dsymbol* declaration); | |
76 | |
74 // initializer helpers | 77 // initializer helpers |
75 LLConstant* DtoConstInitializer(Type* type, Initializer* init); | 78 LLConstant* DtoConstInitializer(Type* type, Initializer* init); |
76 LLConstant* DtoConstFieldInitializer(Type* type, Initializer* init); | 79 LLConstant* DtoConstFieldInitializer(Type* type, Initializer* init); |
77 DValue* DtoInitializer(Initializer* init); | 80 DValue* DtoInitializer(Initializer* init); |
78 | 81 |