diff gen/classes.h @ 1228:79758fd2f48a

Added Doxygen file. Completely seperated type and symbol generation. Should fix a lot of bugs, but is not yet 100% complete.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Wed, 15 Apr 2009 20:06:25 +0200
parents 5a2983f97498
children 5d0c043ff131
line wrap: on
line diff
--- a/gen/classes.h	Mon Apr 13 17:42:36 2009 +0200
+++ b/gen/classes.h	Wed Apr 15 20:06:25 2009 +0200
@@ -3,28 +3,21 @@
 
 #include "gen/structs.h"
 
-/**
- * Resolves the llvm type for a class declaration
- */
+/// Resolves the llvm type for a class declaration
 void DtoResolveClass(ClassDeclaration* cd);
 
-/**
- * Provides the llvm declaration for a class declaration
- */
+/// Provides the llvm declaration for a class declaration
 void DtoDeclareClass(ClassDeclaration* cd);
 
-/**
- * Constructs the constant initializer for a class declaration
- */
+/// Constructs the constant initializer for a class declaration
 void DtoConstInitClass(ClassDeclaration* cd);
 
-/**
- * Provides the llvm definition for a class declaration
- */
+/// Provides the llvm definition for a class declaration
 void DtoDefineClass(ClassDeclaration* cd);
 
-void DtoDeclareClassInfo(ClassDeclaration* cd);
-void DtoDefineClassInfo(ClassDeclaration* cd);
+/// Builds the initializer of cd's ClassInfo.
+/// FIXME: this should be put into IrStruct and eventually IrClass.
+LLConstant* DtoDefineClassInfo(ClassDeclaration* cd);
 
 DValue* DtoNewClass(Loc loc, TypeClass* type, NewExp* newexp);
 void DtoInitClass(TypeClass* tc, LLValue* dst);