Commit Graph

166 Commits

Author SHA1 Message Date
Basile Burg 7a74a70e85
disable Phobos-specific checks by default, close #406 2017-05-08 01:30:29 +02:00
Basile Burg b615d3e299
implement a check for the virtual calls inside constructors, close #423 2017-04-16 03:58:10 +02:00
Hackerpilot 3c3fbe6725 Fix #416 2017-03-09 14:19:26 -08:00
Basile Burg 5bf8146944
fix #198 - Function casing warning on `extern(Windows)` 2017-02-24 12:06:24 +01:00
Brian Schott e8a8766c2f Merge pull request #407 from wilzbach/same-name-check-version
Same name check: differentiate between version blocks
2017-02-21 14:19:48 -08:00
Brian Schott f16b1e854a Merge pull request #390 from wilzbach/check-properly-documented-public-function
Add Ddoc check for properly documented public functions
2017-02-20 15:03:01 -08:00
Sebastian Wilzbach 4c74ac2bda Same name check: differentiate between version blocks 2017-02-20 14:56:19 +01:00
Sebastian Wilzbach 40b3f0d211 Handle doc parameters for templated functions better 2017-02-20 06:27:37 +01:00
Sebastian Wilzbach 4b0f61bb98 Missing return section: add test for auto functions 2017-02-20 05:43:58 +01:00
Sebastian Wilzbach 3103f58242 Address review 2017-02-20 05:42:04 +01:00
Sebastian Wilzbach 8c9f31289b Add Ddoc check for properly documented public functions (add libddoc) 2017-02-16 15:36:09 +01:00
LaurentTreguier 0726a9dcb8 Escape backslashes before quotes 2017-02-16 08:41:42 +01:00
Basile Burg d08c1e1eb5
fix #400 - TypeCtors, false positive for unmodified variable 2017-02-13 18:15:52 +01:00
Brian Schott 8a1dc98010 Merge pull request #396 from BBasile/issue-364
fix #364 - unused variables, detect enums used as template param or array dimension
2017-02-06 16:49:11 -08:00
Basile Burg 7686dd0ecc
prevent to check for final attribs inside templates
since they might be mixed or not, in structs or not
2017-02-04 02:38:20 +01:00
Basile Burg 0afddd2c4e
fix #364 - detect 2 cases where CT vars used in type of declaration 2017-01-19 10:32:06 +01:00
Basile Burg 2b8ba6ffca
fix sloppy test for private protection 2017-01-17 12:08:35 +01:00
Basile Burg 437b8e169d
improve error messages, fix mixed tbs/spaces, remove unused variable 2017-01-17 05:54:40 +01:00
Basile Burg fb2b2182e2
fix, unhanlded declarations caused wrong results 2017-01-16 20:46:01 +01:00
Basile Burg d9b6828205
fix false warning on top level struct/union 2017-01-16 17:07:14 +01:00
Basile Burg 9b97b7d929
add a checker for cases where final is a noop 2017-01-16 06:38:55 +01:00
Brian Schott 9a6b682859 Merge pull request #389 from wilzbach/explicitly_annotated_unittest
Add check for explictly annotated unittests
2017-01-03 15:02:16 -08:00
Brian Schott 6ce77ecaed Merge pull request #388 from wilzbach/local-imports-sortedness
Imports sortedness check: handle local imports in their separate scope
2017-01-03 14:59:42 -08:00
Brian Schott 7c9257ebe3 Merge pull request #381 from BBasile/issue-380
fix #380, templated enum seen as unused variable
2017-01-03 14:58:24 -08:00
Basile Burg 92037b5e7c
prevent possible segfault with instructions without params, like RDTSC 2016-12-24 19:55:33 +01:00
Basile Burg e5708325c1
apply Dscanner on the label ana module 2016-12-24 07:35:06 +01:00
Basile Burg e8c848352e
fix #392 - Usage of labels in asm blocks is not detected 2016-12-24 06:05:57 +01:00
Basile Burg 15b86bf159
fix #380, templated enum seen as unused variable 2016-12-21 21:16:42 +01:00
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
Sebastian Wilzbach 0e62267501 Imports sortedness check: handle local imports in their separate scope 2016-12-15 15:20:54 +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 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 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 428043db71 Fix null pointer error in comma expression check 2016-05-19 00:37:01 -07:00