Mercurial > projects > ddmd
comparison dmd/SynchronizedStatement.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 |
---|---|
48 this.exp = exp; | 48 this.exp = exp; |
49 this.body_ = body_; | 49 this.body_ = body_; |
50 this.esync = null; | 50 this.esync = null; |
51 } | 51 } |
52 | 52 |
53 Statement syntaxCopy() | 53 override Statement syntaxCopy() |
54 { | 54 { |
55 assert(false); | 55 assert(false); |
56 } | 56 } |
57 | 57 |
58 Statement semantic(Scope sc) | 58 override Statement semantic(Scope sc) |
59 { | 59 { |
60 if (exp) | 60 if (exp) |
61 { | 61 { |
62 exp = exp.semantic(sc); | 62 exp = exp.semantic(sc); |
63 exp = resolveProperties(sc, exp); | 63 exp = resolveProperties(sc, exp); |
145 body_ = body_.semantic(sc); | 145 body_ = body_.semantic(sc); |
146 | 146 |
147 return this; | 147 return this; |
148 } | 148 } |
149 | 149 |
150 bool hasBreak() | 150 override bool hasBreak() |
151 { | 151 { |
152 assert(false); | 152 assert(false); |
153 } | 153 } |
154 | 154 |
155 bool hasContinue() | 155 override bool hasContinue() |
156 { | 156 { |
157 assert(false); | 157 assert(false); |
158 } | 158 } |
159 | 159 |
160 bool usesEH() | 160 override bool usesEH() |
161 { | 161 { |
162 assert(false); | 162 assert(false); |
163 } | 163 } |
164 | 164 |
165 BE blockExit() | 165 override BE blockExit() |
166 { | 166 { |
167 assert(false); | 167 assert(false); |
168 } | 168 } |
169 | 169 |
170 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | 170 override void toCBuffer(OutBuffer buf, HdrGenState* hgs) |
171 { | 171 { |
172 assert(false); | 172 assert(false); |
173 } | 173 } |
174 | 174 |
175 Statement inlineScan(InlineScanState* iss) | 175 override Statement inlineScan(InlineScanState* iss) |
176 { | 176 { |
177 assert(false); | 177 assert(false); |
178 } | 178 } |
179 | 179 |
180 // Back end | 180 // Back end |
184 { | 184 { |
185 assert(false); | 185 assert(false); |
186 super(loc); | 186 super(loc); |
187 } | 187 } |
188 | 188 |
189 void toIR(IRState* irs) | 189 override void toIR(IRState* irs) |
190 { | 190 { |
191 assert(false); | 191 assert(false); |
192 } | 192 } |
193 } | 193 } |