Commit Graph

117 Commits

Author SHA1 Message Date
Hackerpilot 428043db71 Fix null pointer error in comma expression check 2016-05-19 00:37:01 -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
Hackerpilot e7a1b1fd2f Fix parse error 2016-05-09 15:49:36 -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 02f8f3c423 Enable the comma operator warning in synchronized statements 2016-05-04 03:24:32 -07:00
Sebastian Wilzbach c61800a7bc fix small typo in dscanner.ini 2016-04-27 12:27:23 +03:00
Hackerpilot 9b81989011 Fix #334 2016-04-18 14:09:10 -07:00
Hackerpilot 553394b621 Fix import 2016-04-18 14:02:27 -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 673e784a03 Don't warn about renamed imports. 2016-03-14 17:29:20 +00: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 c252b3420e Fix part of #305 2016-02-07 00:46:40 -08:00
Hackerpilot 5099545546 Fix #305 2016-02-04 15:18:49 -08:00
Martin Nowak a69706e3ac fixup for 1c96fddeb5 2016-01-27 15:33:19 +01:00
Hackerpilot 1c96fddeb5 Run dfmt 2016-01-27 00:16:50 -08:00
Hackerpilot b5102bcfd5 Fix #300 2016-01-25 15:15:01 -08:00
Hackerpilot 314b0ef3df More correct checking for undocumented declarations 2016-01-25 15:14:46 -08:00
Hackerpilot 47f454711d Update dependencies 2016-01-14 00:25:03 -08:00
Hackerpilot 96ec168f77 Dependency updates 2016-01-11 17:41:55 -08:00
Hackerpilot ef46a70d9a Check for opCast being non-const 2015-11-09 17:35:13 -08:00
Hackerpilot f04ede1d91 Fix #274 2015-11-09 15:43:10 -08:00
Hackerpilot 93d2bc17d8 Fix #241 2015-11-04 17:20:01 -08:00
Hackerpilot 54dca3c4da #241 2015-11-04 17:04:38 -08:00
Hackerpilot 289481182a Minor cleanup 2015-11-04 17:04:14 -08:00
Hackerpilot 61770ee4c7 Fix #262 2015-11-04 15:51:52 -08:00
Hackerpilot cdc9d4d85c Fix typo 2015-10-30 16:29:45 -07:00
Hackerpilot 563df24b42 Fix #290 2015-10-30 16:28:16 -07:00
Hackerpilot cc7d0112f3 Warning message consistency 2015-10-30 16:28:00 -07:00
Hackerpilot fab67f9abd Fix #272 2015-10-30 14:43:13 -07:00
Hackerpilot 8494e6a601 Clean up import 2015-10-30 14:42:24 -07:00
Hackerpilot b3e22eb10e Fix false positive for strings with newlines 2015-10-30 14:41:38 -07:00
Hackerpilot ceff31d216 Fix #132 2015-10-30 13:33:54 -07:00
Hackerpilot aa54c3d5c9 Remove unused code 2015-10-30 12:35:22 -07:00
Hackerpilot 73ddd29ce2 Use new dparse and dsymbol 2015-10-29 16:15:03 -07:00
Hackerpilot e5279e94f7 Fix #286 2015-10-09 14:54:28 -07:00
Hackerpilot f99d4ae954 Fix #226 2015-09-25 17:54:45 -07:00
Hackerpilot 2cf8ebe956 Fix bug in mismatched arg name checker 2015-09-25 15:40:17 -07:00
Hackerpilot 280c8a53f2 Fix failing unit test 2015-09-18 11:48:24 -07:00
Hackerpilot dffed0ab24 Fix #238 2015-09-18 11:47:28 -07:00
Hackerpilot 27a423e3fa Fix #269 2015-09-18 05:22:03 -07:00
Hackerpilot c09abbdab6 Fix range error in mismatched argument checker, disable logging from dsymbol 2015-09-18 04:06:18 -07:00
Hackerpilot 4e1cdf23be Fix null pointer crash 2015-09-18 03:58:37 -07:00
Hackerpilot 380064de6a Merge master and update dependencies 2015-09-18 02:56:30 -07:00