Mercurial > projects > ldc
comparison gen/structs.h @ 870:af7a6faf9406
Fix #153. Factor out common code in StructLiteralExp::to(Const)Elem.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 30 Dec 2008 11:42:01 +0100 |
parents | 340acf1535d0 |
children | 3cf0066e6faf |
comparison
equal
deleted
inserted
replaced
869:5dbc63f83380 | 870:af7a6faf9406 |
---|---|
2 #define LLVMD_GEN_STRUCTS_H | 2 #define LLVMD_GEN_STRUCTS_H |
3 | 3 |
4 struct StructInitializer; | 4 struct StructInitializer; |
5 | 5 |
6 LLConstant* DtoConstStructInitializer(StructInitializer* si); | 6 LLConstant* DtoConstStructInitializer(StructInitializer* si); |
7 std::vector<llvm::Value*> DtoStructLiteralValues(const StructDeclaration* sd, const std::vector<llvm::Value*>& inits); | |
7 | 8 |
8 /** | 9 /** |
9 * Resolves the llvm type for a struct | 10 * Resolves the llvm type for a struct |
10 */ | 11 */ |
11 void DtoResolveStruct(StructDeclaration* sd); | 12 void DtoResolveStruct(StructDeclaration* sd); |