Mercurial > projects > ddmd
view dmd/PostBlitDeclaration.d @ 72:2e2a5c3f943a
reduced warnings by adding override to the methods
think this also normalizes different line endings used all over the place
author | Trass3r |
---|---|
date | Sat, 28 Aug 2010 16:19:48 +0200 |
parents | 488f3f6bcceb |
children | 43073c7c7769 |
line wrap: on
line source
module dmd.PostBlitDeclaration; import dmd.FuncDeclaration; import dmd.Loc; import dmd.Identifier; import dmd.Dsymbol; import dmd.Scope; import dmd.OutBuffer; import dmd.HdrGenState; import dmd.STC; import dmd.Id; class PostBlitDeclaration : FuncDeclaration { this(Loc loc, Loc endloc) { super(loc, endloc, Id._postblit, STCundefined, null); } this(Loc loc, Loc endloc, Identifier id) { assert(false); super(loc, loc, null, STC.init, null); } override Dsymbol syntaxCopy(Dsymbol) { assert(false); } override void semantic(Scope sc) { assert(false); } override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { assert(false); } override bool isVirtual() { assert(false); } override bool addPreInvariant() { assert(false); } override bool addPostInvariant() { assert(false); } override bool overloadInsert(Dsymbol s) { assert(false); } override void emitComment(Scope sc) { assert(false); } override PostBlitDeclaration isPostBlitDeclaration() { return this; } }