Mercurial > projects > ddmd
comparison 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 |
comparison
equal
deleted
inserted
replaced
71:8e24ef1dd139 | 72:2e2a5c3f943a |
---|---|
21 { | 21 { |
22 assert(false); | 22 assert(false); |
23 super(loc, loc, null, STC.init, null); | 23 super(loc, loc, null, STC.init, null); |
24 } | 24 } |
25 | 25 |
26 Dsymbol syntaxCopy(Dsymbol) | 26 override Dsymbol syntaxCopy(Dsymbol) |
27 { | 27 { |
28 assert(false); | 28 assert(false); |
29 } | 29 } |
30 | 30 |
31 void semantic(Scope sc) | 31 override void semantic(Scope sc) |
32 { | 32 { |
33 assert(false); | 33 assert(false); |
34 } | 34 } |
35 | 35 |
36 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | 36 override void toCBuffer(OutBuffer buf, HdrGenState* hgs) |
37 { | 37 { |
38 assert(false); | 38 assert(false); |
39 } | 39 } |
40 | 40 |
41 bool isVirtual() | 41 override bool isVirtual() |
42 { | 42 { |
43 assert(false); | 43 assert(false); |
44 } | 44 } |
45 | 45 |
46 bool addPreInvariant() | 46 override bool addPreInvariant() |
47 { | 47 { |
48 assert(false); | 48 assert(false); |
49 } | 49 } |
50 | 50 |
51 bool addPostInvariant() | 51 override bool addPostInvariant() |
52 { | 52 { |
53 assert(false); | 53 assert(false); |
54 } | 54 } |
55 | 55 |
56 bool overloadInsert(Dsymbol s) | 56 override bool overloadInsert(Dsymbol s) |
57 { | 57 { |
58 assert(false); | 58 assert(false); |
59 } | 59 } |
60 | 60 |
61 void emitComment(Scope sc) | 61 override void emitComment(Scope sc) |
62 { | 62 { |
63 assert(false); | 63 assert(false); |
64 } | 64 } |
65 | 65 |
66 PostBlitDeclaration isPostBlitDeclaration() { return this; } | 66 override PostBlitDeclaration isPostBlitDeclaration() { return this; } |
67 } | 67 } |