Mercurial > projects > ddmd
diff 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 diff
--- a/dmd/PostBlitDeclaration.d Sat Aug 28 16:14:07 2010 +0200 +++ b/dmd/PostBlitDeclaration.d Sat Aug 28 16:19:48 2010 +0200 @@ -23,45 +23,45 @@ super(loc, loc, null, STC.init, null); } - Dsymbol syntaxCopy(Dsymbol) + override Dsymbol syntaxCopy(Dsymbol) { assert(false); } - void semantic(Scope sc) + override void semantic(Scope sc) { assert(false); } - void toCBuffer(OutBuffer buf, HdrGenState* hgs) + override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { assert(false); } - bool isVirtual() + override bool isVirtual() { assert(false); } - bool addPreInvariant() + override bool addPreInvariant() { assert(false); } - bool addPostInvariant() + override bool addPostInvariant() { assert(false); } - bool overloadInsert(Dsymbol s) + override bool overloadInsert(Dsymbol s) { assert(false); } - void emitComment(Scope sc) + override void emitComment(Scope sc) { assert(false); } - PostBlitDeclaration isPostBlitDeclaration() { return this; } -} \ No newline at end of file + override PostBlitDeclaration isPostBlitDeclaration() { return this; } +}