Commit Graph

29 Commits

Author SHA1 Message Date
Basile Burg b615d3e299
implement a check for the virtual calls inside constructors, close #423 2017-04-16 03:58:10 +02:00
Sebastian Wilzbach 8c9f31289b Add Ddoc check for properly documented public functions (add libddoc) 2017-02-16 15:36:09 +01:00
Basile Burg 9b97b7d929
add a checker for cases where final is a noop 2017-01-16 06:38:55 +01:00
Sebastian Wilzbach 7f38c87f5d Add check for explictly annotated unittests 2016-12-15 17:34:06 +01:00
Sebastian Wilzbach be555a74b8 Add ImportSortedness checker 2016-12-10 20:22:40 +01:00
Basile Burg 734d47e9a2
add a check for the auto functions without return statement 2016-09-07 07:08:13 +02:00
Basile Burg c101a6e1f7 Added an option that allows to skip the unittests analysis
allow each check to be individually skipped in the unit tests

useless assertions must always be detected
2016-05-12 17:14:32 +02:00
Hackerpilot 15c780fac4 Fix #341 2016-05-09 15:57:26 -07:00
Brian Schott c602036e0f Merge pull request #309 from dhasenan/master
Added a test for static if...else if mistakes.
2016-05-06 14:32:18 -07:00
Sebastian Wilzbach c61800a7bc fix small typo in dscanner.ini 2016-04-27 12:27:23 +03:00
dhasenan 0943820ebe Added a test for static if...else if mistakes.
If you write your code as:
static if (foo)
  doFoo();
else if (bar)
  doBar();

This check will catch it. If you write it as:
static if (foo)
  doFoo();
else {
  if (bar)
    doBar();
}

This isn't a bug and we won't warn about it.

If you write your code in an intermediate style, we'll still warn about it:
static if (foo)
  doFoo();
else
  if (bar)
    doBar();

Which probably isn't optimal, but what the hey.
2016-03-11 17:59:27 +00:00
Hackerpilot 76765a621d Move old alias syntax warning out of the parser, see Hackerpilot/libdparse#80 2016-03-02 21:11:38 -08:00
Hackerpilot 1c96fddeb5 Run dfmt 2016-01-27 00:16:50 -08:00
Hackerpilot 54dca3c4da #241 2015-11-04 17:04:38 -08:00
Hackerpilot 61770ee4c7 Fix #262 2015-11-04 15:51:52 -08:00
Hackerpilot fab67f9abd Fix #272 2015-10-30 14:43:13 -07:00
Hackerpilot ceff31d216 Fix #132 2015-10-30 13:33:54 -07:00
Hackerpilot 380064de6a Merge master and update dependencies 2015-09-18 02:56:30 -07:00
Hackerpilot cad1f05367 Implement #243 2015-06-04 17:35:20 -07:00
Hackerpilot 6b18fa8640 #244 2015-05-28 10:24:49 -07:00
Hackerpilot 960881e607 WIP 2015-05-17 16:22:51 -07:00
WalterW 1945b4bee9 Fix #242 - Warn about unused labels 2015-05-11 10:15:53 -04:00
Hackerpilot dbea951e5d Implement #232 2015-02-21 02:13:38 -08:00
Hackerpilot fd51353abf Add possible immutable variable detector 2015-01-14 17:54:51 -08:00
Hackerpilot 95c8b1b19a Add local import check 2014-09-23 14:33:16 -07:00
Hackerpilot 6617f8d01c Death to the comma operator 2014-09-04 16:24:51 -07:00
Hackerpilot 53a0958e6b Fix #206 2014-09-03 14:07:59 -07:00
Hackerpilot 1c008b98bc Add check for undocumented public symbols 2014-08-29 13:50:52 -07:00
Hackerpilot 77d6b1baf6 Project reorganzation 2014-08-22 15:41:48 -07:00