Mercurial > projects > ldc
comparison gen/arrays.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 | e6bcc4d9e5ff |
children | 79758fd2f48a |
comparison
equal
deleted
inserted
replaced
796:6e7a4c3b64d2 | 797:340acf1535d0 |
---|---|
7 const llvm::StructType* DtoArrayType(const LLType* elemTy); | 7 const llvm::StructType* DtoArrayType(const LLType* elemTy); |
8 const llvm::ArrayType* DtoStaticArrayType(Type* sarrayTy); | 8 const llvm::ArrayType* DtoStaticArrayType(Type* sarrayTy); |
9 | 9 |
10 LLConstant* DtoConstArrayInitializer(ArrayInitializer* si); | 10 LLConstant* DtoConstArrayInitializer(ArrayInitializer* si); |
11 LLConstant* DtoConstSlice(LLConstant* dim, LLConstant* ptr); | 11 LLConstant* DtoConstSlice(LLConstant* dim, LLConstant* ptr); |
12 LLConstant* DtoConstStaticArray(const LLType* t, LLConstant* c); | |
13 | 12 |
14 void DtoArrayCopySlices(DSliceValue* dst, DSliceValue* src); | 13 void DtoArrayCopySlices(DSliceValue* dst, DSliceValue* src); |
15 void DtoArrayCopyToSlice(DSliceValue* dst, DValue* src); | 14 void DtoArrayCopyToSlice(DSliceValue* dst, DValue* src); |
16 | 15 |
17 void DtoArrayInit(Loc& loc, DValue* array, DValue* value); | 16 void DtoArrayInit(Loc& loc, DValue* array, DValue* value); |