diff gen/irstate.h @ 797:340acf1535d0

Removed KDevelop3 project files, CMake can generate them just fine! Fixed function literals in static initializers. Changed alignment of delegates from 2*PTRSIZE to just PTRSIZE. Changed errors to go to stderr instead of stdout. Fairly major rewriting of struct/union/class handling, STILL A BIT BUGGY !!!
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sat, 29 Nov 2008 21:25:43 +0100
parents eef8ac26c66c
children 545f54041d91
line wrap: on
line diff
--- a/gen/irstate.h	Sat Nov 29 12:28:10 2008 +0100
+++ b/gen/irstate.h	Sat Nov 29 21:25:43 2008 +0100
@@ -23,6 +23,7 @@
 struct Module;
 struct TypeStruct;
 struct BaseClass;
+struct AnonDeclaration;
 struct EnclosingHandler;
 
 struct IrModule;
@@ -147,10 +148,6 @@
     StructVector structs;
     IrStruct* topstruct();
 
-    // classes TODO move into IRClass
-    typedef std::vector<ClassDeclaration*> ClassDeclVec;
-    ClassDeclVec classes;
-
     // D main function
     bool emitMain;
     llvm::Function* mainFunc;