Commit 88aa023
committed
Add new filter to the sanity checker to check for plain wxFAIL macros
wxFAIL is for the lazy programmer. Most of the time it can be replaced with
an appropriate wxCHECK() macro, making the code even more readable. Okay, I
admit there are cases it is valid to use wxFAIL, but even in these cases one
should use wxFAIL_MSG() instead, to give an explanation on what went wrong at
first sight.1 parent 98fb9f2 commit 88aa023
1 file changed
+28
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
260 | 285 | | |
261 | 286 | | |
262 | 287 | | |
| |||
664 | 689 | | |
665 | 690 | | |
666 | 691 | | |
| 692 | + | |
667 | 693 | | |
668 | 694 | | |
669 | 695 | | |
| |||
0 commit comments