Mercurial > projects > ddmd
diff dmd/AlignDeclaration.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 | 10317f0c89a5 |
children | 7e0d548de9e6 |
line wrap: on
line diff
--- a/dmd/AlignDeclaration.d Sat Aug 28 16:14:07 2010 +0200 +++ b/dmd/AlignDeclaration.d Sat Aug 28 16:19:48 2010 +0200 @@ -17,12 +17,12 @@ salign = sa; } - Dsymbol syntaxCopy(Dsymbol s) + override Dsymbol syntaxCopy(Dsymbol s) { assert(false); } - void setScope(Scope sc) + override void setScope(Scope sc) { //printf("\tAlignDeclaration::setScope '%s'\n",toChars()); if (decl) @@ -31,7 +31,7 @@ } } - void semantic(Scope sc) + override void semantic(Scope sc) { //printf("\tAlignDeclaration::semantic '%s'\n",toChars()); if (decl) @@ -40,8 +40,8 @@ } } - void toCBuffer(OutBuffer buf, HdrGenState* hgs) + override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { assert(false); } -} \ No newline at end of file +}