Mercurial > projects > ddmd
comparison dmd/MulAssignExp.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 | cab4c37afb89 |
children | ef02e2e203c2 |
comparison
equal
deleted
inserted
replaced
71:8e24ef1dd139 | 72:2e2a5c3f943a |
---|---|
23 this(Loc loc, Expression e1, Expression e2) | 23 this(Loc loc, Expression e1, Expression e2) |
24 { | 24 { |
25 super(loc, TOK.TOKmulass, MulAssignExp.sizeof, e1, e2); | 25 super(loc, TOK.TOKmulass, MulAssignExp.sizeof, e1, e2); |
26 } | 26 } |
27 | 27 |
28 Expression semantic(Scope sc) | 28 override Expression semantic(Scope sc) |
29 { | 29 { |
30 Expression e; | 30 Expression e; |
31 | 31 |
32 BinExp.semantic(sc); | 32 BinExp.semantic(sc); |
33 e2 = resolveProperties(sc, e2); | 33 e2 = resolveProperties(sc, e2); |
81 } | 81 } |
82 } | 82 } |
83 return this; | 83 return this; |
84 } | 84 } |
85 | 85 |
86 Expression interpret(InterState istate) | 86 override Expression interpret(InterState istate) |
87 { | 87 { |
88 assert(false); | 88 assert(false); |
89 } | 89 } |
90 | 90 |
91 void buildArrayIdent(OutBuffer buf, Expressions arguments) | 91 override void buildArrayIdent(OutBuffer buf, Expressions arguments) |
92 { | 92 { |
93 AssignExp_buildArrayIdent(buf, arguments, "Mul"); | 93 AssignExp_buildArrayIdent(buf, arguments, "Mul"); |
94 } | 94 } |
95 | 95 |
96 Expression buildArrayLoop(Arguments fparams) | 96 override Expression buildArrayLoop(Arguments fparams) |
97 { | 97 { |
98 assert(false); | 98 assert(false); |
99 } | 99 } |
100 | 100 |
101 Identifier opId() /* For operator overloading */ | 101 override Identifier opId() /* For operator overloading */ |
102 { | 102 { |
103 return Id.mulass; | 103 return Id.mulass; |
104 } | 104 } |
105 | 105 |
106 elem* toElem(IRState* irs) | 106 override elem* toElem(IRState* irs) |
107 { | 107 { |
108 return toElemBin(irs,OPmulass); | 108 return toElemBin(irs,OPmulass); |
109 } | 109 } |
110 } | 110 } |