Mercurial > projects > ldc
diff dmd/mtype.h @ 486:a34078905d01
Added pragma(llvmdc, "string") for misc per-module compiler configuration, currently "string" can only be "verbose" which forces -vv for module it appears in.
Reimplemented support for nested functions/class using a new approach.
Added error on taking address of intrinsic.
Fixed problems with the ->syntaxCopy of TypeFunction delegate exp.
Removed DtoDType and replaced all uses with ->toBasetype() instead.
Removed unused inplace stuff.
Fixed a bunch of issues in the runtime unittests, not complete yet.
Added mini tests.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 10 Aug 2008 08:37:38 +0200 |
parents | cc40db549aea |
children | a6c105aa00d5 |
line wrap: on
line diff
--- a/dmd/mtype.h Sat Aug 09 09:03:52 2008 +0200 +++ b/dmd/mtype.h Sun Aug 10 08:37:38 2008 +0200 @@ -441,9 +441,11 @@ unsigned totym(); - bool llvmRetInPtr; - bool llvmUsesThis; - unsigned llvmRetAttrs; + // LLVMDC + bool retInPtr; + bool usesThis; + bool usesNest; + unsigned retAttrs; }; struct TypeDelegate : Type @@ -556,6 +558,7 @@ d_uns64 size(Loc loc); unsigned alignsize(); char *toChars(); + Type *syntaxCopy(); Type *semantic(Loc loc, Scope *sc); Dsymbol *toDsymbol(Scope *sc); void toDecoBuffer(OutBuffer *buf);