Commit Graph

46 Commits

Author SHA1 Message Date
LaurentTreguier 0726a9dcb8 Escape backslashes before quotes 2017-02-16 08:41:42 +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
Brian Schott c018b1ef57 Merge pull request #382 from wilzbach/import-sortedness
Add ImportSortedness checker
2016-12-12 15:01:24 -08:00
WebFreak001 0aee4eaf40 Allow stdin everywhere fix #317 2016-12-12 21:52:36 +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
Hackerpilot 40961297e7 Issue #365 2016-07-14 15:39:27 -07:00
Hackerpilot e4426081dd Fix indentation 2016-06-30 14:50:28 -07: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 f0bc0d933c Merge commit '162a5fb' 2016-05-11 16:41:53 -07:00
Hackerpilot 162a5fb332 Fix memory leaks 2016-05-11 16:41:42 -07: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
Hackerpilot 3d6fdfe2a3 Fix #339 2016-05-06 14:24:10 -07:00
Hackerpilot a78c4610a2 Fix #314 2016-03-27 16:29:43 -07:00
Hackerpilot a18ebe0c86 Merge branch 'allocator_improvements' 2016-03-17 03:09:48 -07: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 95077d333d Update dparse and dsymbol 2016-03-02 02:41:46 -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 73ddd29ce2 Use new dparse and dsymbol 2015-10-29 16:15:03 -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 77a7b4f5d2 Implement #239 2015-06-04 16:50:29 -07:00
Hackerpilot 6b18fa8640 #244 2015-05-28 10:24:49 -07:00
Hackerpilot a3c4a5384a Starting work on 0.3.0 2015-05-26 00:24:21 -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 4849326745 Disable redundant if expression check due to false positives 2015-02-21 22:52:50 -08:00
Hackerpilot dbea951e5d Implement #232 2015-02-21 02:13:38 -08:00
Hackerpilot 956dd204dc Rename 2015-01-16 11:12:50 -08:00
Hackerpilot fd51353abf Add possible immutable variable detector 2015-01-14 17:54:51 -08:00
Hackerpilot 94c479a641 Fix compile error 2015-01-05 13:39:24 -08:00
Hackerpilot d1a7424a36 Update to new libdparse 2014-12-15 22:42:22 +00: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 e2e324cd7b Added various metrics to --report output 2014-08-28 19:06:54 -07:00
Hackerpilot a6325f1cf2 Fix #203 2014-08-25 12:52:01 -07:00
Hackerpilot 77d6b1baf6 Project reorganzation 2014-08-22 15:41:48 -07:00