Commit Graph

23 Commits

Author SHA1 Message Date
Basile Burg 91dfc8bd4f fixup f48862d7 2017-11-19 15:18:37 +01:00
Basile Burg f48862d7a5 fix #533 - "Could be declared const" should be avoided for declarations with "new" (#534)
fix #533 - "Could be declared const" should be avoided for declarations with "new"
merged-on-behalf-of: Richard Andrew Cattermole <alphaglosined@gmail.com>
2017-11-19 14:37:25 +01:00
Jan Jurzitza 142e284588 foreach missing body crash fix (#515) 2017-08-13 14:14:02 +02:00
Basile Burg f89d356601 Fixes cases of false or non positive with the useless init check (#475)
* fix #474 fix #473 fix #476 - Cases of false and non positive with the useless init check

* do not warn on documented variables

* fix #477 - Custom type initialized to init should not trigger a warn

* allow struct.init when know struct has `@disable` ctor

* fix last false detection in phobos

* prevent check in the "compiles" trait

* - use canFind when filter.empty was negated
- FQN the struct names
- prevent a double query in the canBeInit AA
- import the whole also package
- there was not test on non-initilized variables

* fix, self-linting missed a case that was not yet fixed

* fix more undetected warns during self linting

* use a flag instead of a stack + apply skipTests

* convert spaces to tabs
2017-06-28 08:08:33 +02:00
Basile Burg 7a74a70e85
disable Phobos-specific checks by default, close #406 2017-05-08 01:30:29 +02:00
Basile Burg d08c1e1eb5
fix #400 - TypeCtors, false positive for unmodified variable 2017-02-13 18:15:52 +01:00
Hackerpilot 896d7da6f4 Update dsymbol and dparse 2016-10-12 19:28:51 -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 1c96fddeb5 Run dfmt 2016-01-27 00:16:50 -08:00
Hackerpilot 47f454711d Update dependencies 2016-01-14 00:25:03 -08: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 27a423e3fa Fix #269 2015-09-18 05:22:03 -07:00
Hackerpilot 380064de6a Merge master and update dependencies 2015-09-18 02:56:30 -07:00
Hackerpilot eb50bc9e18 Fix #270 2015-09-17 23:39:38 -07:00
Hackerpilot 066c44070e Fix #266 2015-06-04 14:41:57 -07:00
Hackerpilot 7e0d0dd130 Improve accuracy of unmodified variable check 2015-05-29 08:45:27 -07:00
Hackerpilot a3c4a5384a Starting work on 0.3.0 2015-05-26 00:24:21 -07:00
Hackerpilot b73e8c4fca Update libdparse 2015-05-04 14:55:36 -07:00
Hackerpilot 13a5a3e693 Minor fixes 2015-01-26 13:13:12 -08:00
Hackerpilot 9eb2b575af Change rule name 2015-01-16 11:14:07 -08:00
Hackerpilot 956dd204dc Rename 2015-01-16 11:12:50 -08:00