diff dmd/aggregate.h @ 88:058d3925950e trunk

[svn r92] Fixed support for statically initialized unions. lots of bugfixes as cleanups too.
author lindquist
date Tue, 06 Nov 2007 10:03:14 +0100
parents 714057ff2dbb
children ce7ed8f59b99
line wrap: on
line diff
--- a/dmd/aggregate.h	Sat Nov 03 14:48:33 2007 +0100
+++ b/dmd/aggregate.h	Tue Nov 06 10:03:14 2007 +0100
@@ -45,6 +45,8 @@
     class ConstantStruct;
 }
 
+struct DUnion;
+
 struct AggregateDeclaration : ScopeDsymbol
 {
     Type *type;
@@ -104,6 +106,7 @@
     llvm::ConstantStruct* llvmConstVtbl;
     llvm::Constant* llvmInitZ;
     bool llvmHasUnions;
+    DUnion* llvmUnion;
 
     AggregateDeclaration *isAggregateDeclaration() { return this; }
 };