Commit Graph

15 Commits

Author SHA1 Message Date
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
Sebastian Wilzbach 61d52156aa Run DScanner on itself (#479)
* Enable DScanner checking on Travis
* Fix linter warnings
* Set opequals_tohash_check to disabled
* Set could_be_immutable to 'disabled'
* Split expression back into multiple lines
* Set style to disabled
* Fix Makefile target
2017-06-25 15:05:03 +03: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 289481182a Minor cleanup 2015-11-04 17:04:14 -08:00
Hackerpilot 73ddd29ce2 Use new dparse and dsymbol 2015-10-29 16:15:03 -07:00
Hackerpilot a3c4a5384a Starting work on 0.3.0 2015-05-26 00:24:21 -07:00
Hackerpilot 2b79fca42e False positive on inout @property functions 2015-02-01 03:08:42 -08:00
Hackerpilot 90fe5f65ef Allow 'immutable' to count towards the property check 2015-01-03 20:49:40 -08:00
Hackerpilot 93b3873ae0 Implement #126 2015-01-03 20:44:31 -08:00
Hackerpilot d1a7424a36 Update to new libdparse 2014-12-15 22:42:22 +00:00
Hackerpilot 6569468502 Do not flag abstract functions in classes inside of interfaces 2014-11-24 15:35:56 -08:00
Hackerpilot 0b28dfa652 Catch more useless uses of 'abstract' 2014-11-24 15:32:33 -08:00
Hackerpilot 03454d6b65 Warn about redundant 'abstract' attribute on functions in interfaces. Fixes #202 2014-11-24 15:13:19 -08:00
Hackerpilot 53a0958e6b Fix #206 2014-09-03 14:07:59 -07:00