Mercurial > projects > ldc
comparison dmd/mtype.h @ 72:d7e764e62462 trunk
[svn r76] Fixed: TypeInfo for structs.
Fixed: PostExp was unable to allocate storage for parameters.
Fixed: Many types of functions and delegates were broken.
Misc cleanups.
author | lindquist |
---|---|
date | Mon, 29 Oct 2007 03:28:12 +0100 |
parents | d3ee9efe20e2 |
children | 70d6113eeb8c |
comparison
equal
deleted
inserted
replaced
71:53d3086b5ad3 | 72:d7e764e62462 |
---|---|
538 TypeInfoDeclaration *getTypeInfoDeclaration(); | 538 TypeInfoDeclaration *getTypeInfoDeclaration(); |
539 int hasPointers(); | 539 int hasPointers(); |
540 | 540 |
541 type *toCtype(); | 541 type *toCtype(); |
542 | 542 |
543 llvm::Value* llvmInit; | 543 llvm::Constant* llvmInit; |
544 }; | 544 }; |
545 | 545 |
546 struct TypeEnum : Type | 546 struct TypeEnum : Type |
547 { | 547 { |
548 EnumDeclaration *sym; | 548 EnumDeclaration *sym; |
636 | 636 |
637 type *toCtype(); | 637 type *toCtype(); |
638 | 638 |
639 Symbol *toSymbol(); | 639 Symbol *toSymbol(); |
640 | 640 |
641 llvm::Value* llvmInit; | 641 llvm::Constant* llvmInit; |
642 }; | 642 }; |
643 | 643 |
644 struct TypeTuple : Type | 644 struct TypeTuple : Type |
645 { | 645 { |
646 Arguments *arguments; // types making up the tuple | 646 Arguments *arguments; // types making up the tuple |