Mercurial > projects > ddmd
comparison dmd/DebugCondition.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 | e28b18c23469 |
comparison
equal
deleted
inserted
replaced
71:8e24ef1dd139 | 72:2e2a5c3f943a |
---|---|
33 this(Module mod, uint level, Identifier ident) | 33 this(Module mod, uint level, Identifier ident) |
34 { | 34 { |
35 super(mod, level, ident); | 35 super(mod, level, ident); |
36 } | 36 } |
37 | 37 |
38 bool include(Scope sc, ScopeDsymbol s) | 38 override bool include(Scope sc, ScopeDsymbol s) |
39 { | 39 { |
40 //printf("DebugCondition::include() level = %d, debuglevel = %d\n", level, global.params.debuglevel); | 40 //printf("DebugCondition::include() level = %d, debuglevel = %d\n", level, global.params.debuglevel); |
41 if (inc == 0) | 41 if (inc == 0) |
42 { | 42 { |
43 inc = 2; | 43 inc = 2; |
61 } | 61 } |
62 | 62 |
63 return (inc == 1); | 63 return (inc == 1); |
64 } | 64 } |
65 | 65 |
66 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | 66 override void toCBuffer(OutBuffer buf, HdrGenState* hgs) |
67 { | 67 { |
68 assert(false); | 68 assert(false); |
69 } | 69 } |
70 } | 70 } |