diff 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
line wrap: on
line diff
--- a/gen/llvmhelpers.h	Tue Jul 29 21:52:25 2008 +0200
+++ b/gen/llvmhelpers.h	Wed Jul 30 09:21:06 2008 +0200
@@ -71,6 +71,9 @@
 void DtoForceConstInitDsymbol(Dsymbol* dsym);
 void DtoForceDefineDsymbol(Dsymbol* dsym);
 
+// declaration inside a declarationexp
+DValue* DtoDeclarationExp(Dsymbol* declaration);
+
 // initializer helpers
 LLConstant* DtoConstInitializer(Type* type, Initializer* init);
 LLConstant* DtoConstFieldInitializer(Type* type, Initializer* init);