Commit Graph

183 Commits

Author SHA1 Message Date
Sebastian Wilzbach 1c89a01f33 Address @BBasile's review 2016-12-16 00:52:17 +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
Brian Schott d5652002c4 Merge pull request #384 from WebFreak001/master
Allow stdin everywhere (fix #317)
2016-12-12 14:55:34 -08:00
WebFreak001 0aee4eaf40 Allow stdin everywhere fix #317 2016-12-12 21:52:36 +01:00
Basile Burg 55a6b2a758
prevent a case of false detection for auto functions 2016-12-11 00:42:47 +01:00
Sebastian Wilzbach be555a74b8 Add ImportSortedness checker 2016-12-10 20:22:40 +01:00
Brian Schott f283650c12 Merge pull request #379 from BBasile/autofunc-mixin-asserts
auto functions checker, fix several cases of false warnings
2016-12-05 16:17:46 -08:00
Basile Burg e041f6e5dd
fix, dont emit warn for body-less functions 2016-11-26 08:31:43 +01:00
Basile Burg cbeca3ba34
auto functions checker, check assert(false) and string literal mixin. 2016-11-26 06:59:40 +01:00
Hackerpilot bf3b942b9a Fix cast 2016-10-18 13:59:57 -07:00
Hackerpilot cb70ded2b2 Fix token dump output 2016-10-18 13:39:36 -07:00
Hackerpilot 7349e20b8a Fix #347 2016-10-12 19:31:05 -07:00
Hackerpilot 896d7da6f4 Update dsymbol and dparse 2016-10-12 19:28:51 -07:00
Basile Burg 734d47e9a2
add a check for the auto functions without return statement 2016-09-07 07:08:13 +02:00
Basile Burg f9bb76782c
fixup for #368, readme and source comment still stated the prev.behavior 2016-09-03 22:31:32 +02:00
Basile Burg f51a689a7d
add detection of undocumented enums and their members 2016-08-30 01:47:09 +02:00
Hackerpilot 5a790b4d41 Fix #368 2016-07-27 12:21:51 -07:00
Hackerpilot 40961297e7 Issue #365 2016-07-14 15:39:27 -07:00
Hackerpilot b9fa74ba7b Fix #360 2016-07-05 15:59:15 -07:00
Hackerpilot 0ccdfa2984 Update libdparse to improve handling of align attributes 2016-06-30 15:48:54 -07:00
Hackerpilot 18bfad3619 Update C++ linkage attribute handling 2016-06-30 14:50:48 -07:00
Hackerpilot e4426081dd Fix indentation 2016-06-30 14:50:28 -07:00
LaurentTreguier 7945792784 Correct small typo
It looks like there was a typo here...
2016-06-30 20:54:00 +02:00
Hackerpilot 5994c760a4 Fix #355 2016-06-10 18:27:59 -07:00
Hackerpilot d7ab1023a7 Fix #356 2016-06-10 15:28:50 -07:00
Ianis G. Vasilev 322a191d5d Added a mechanism for searching for dscanner.ini upwards through the file hierarchy 2016-05-20 01:45:23 +03:00
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
Hackerpilot 97c4e48ce5 Fix bug in token display 2016-05-04 03:24:11 -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 8671674cd5 Update version number 2016-03-24 15:17:14 -07:00
Hackerpilot a18ebe0c86 Merge branch 'allocator_improvements' 2016-03-17 03:09:48 -07:00
Hackerpilot b5e9281f1b #313 2016-03-17 03:09:45 -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 c7861d4c60 Fix information about package protection arguments being missing in AST output 2016-02-07 02:25:45 -08:00
Hackerpilot c252b3420e Fix part of #305 2016-02-07 00:46:40 -08:00