Mercurial > projects > ddmd
comparison dmd/TypeReference.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 |
---|---|
26 { | 26 { |
27 assert(false); | 27 assert(false); |
28 } | 28 } |
29 } | 29 } |
30 | 30 |
31 Type syntaxCopy() | 31 override Type syntaxCopy() |
32 { | 32 { |
33 assert(false); | 33 assert(false); |
34 } | 34 } |
35 | 35 |
36 Type semantic(Loc loc, Scope sc) | 36 override Type semantic(Loc loc, Scope sc) |
37 { | 37 { |
38 assert(false); | 38 assert(false); |
39 } | 39 } |
40 | 40 |
41 ulong size(Loc loc) | 41 override ulong size(Loc loc) |
42 { | 42 { |
43 assert(false); | 43 assert(false); |
44 } | 44 } |
45 | 45 |
46 void toCBuffer2(OutBuffer buf, HdrGenState* hgs, MOD mod) | 46 override void toCBuffer2(OutBuffer buf, HdrGenState* hgs, MOD mod) |
47 { | 47 { |
48 assert(false); | 48 assert(false); |
49 } | 49 } |
50 | 50 |
51 Expression dotExp(Scope sc, Expression e, Identifier ident) | 51 override Expression dotExp(Scope sc, Expression e, Identifier ident) |
52 { | 52 { |
53 assert(false); | 53 assert(false); |
54 } | 54 } |
55 | 55 |
56 Expression defaultInit(Loc loc) | 56 override Expression defaultInit(Loc loc) |
57 { | 57 { |
58 assert(false); | 58 assert(false); |
59 } | 59 } |
60 | 60 |
61 bool isZeroInit(Loc loc) | 61 override bool isZeroInit(Loc loc) |
62 { | 62 { |
63 assert(false); | 63 assert(false); |
64 } | 64 } |
65 | 65 |
66 version (CPP_MANGLE) { | 66 version (CPP_MANGLE) { |