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
ba751105a2
Merge pull request #470 from dlang-community/has_public_example
...
Add has_public_example check
2017-06-28 02:22:35 +02:00
The Dlang Bot
38c4d2d0eb
Merge pull request #466 from wilzbach/fix-unused_label
...
Fix AssertError on unknown label in unused_label
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-06-27 22:24:26 +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
Sebastian Wilzbach
e065d07573
Add has_public_example check
...
A check for public declaration without a documented unittest.
2017-06-25 09:30:44 +02:00
Sebastian Wilzbach
36397a579d
Fix AssertError on unknown label in unused_label
2017-06-19 22:17:43 +02:00
Sebastian Wilzbach
6df62b7b4d
Fix line_length checker for multiLine literals ( #465 )
2017-06-19 14:21:18 +02:00
Basile Burg
db46595870
Revert "set more def bucket count to get better perfs on huge modules ( #462 )"
...
This reverts commit d8ee9a3e4b .
2017-06-18 03:08:22 +02:00
Basile Burg
d8ee9a3e4b
set more def bucket count to get better perfs on huge modules ( #462 )
2017-06-17 13:57:22 +02:00
Sebastian Wilzbach
cf3d702720
Fix deprecations ( #458 )
...
* Properly import core.exception in analysis/helpers
* Remove the old std.string.removechars from useless_assert
2017-06-15 14:18:17 +03:00
Sebastian Wilzbach
764921634e
Add check for redundant attributes ( #441 )
2017-06-15 11:15:58 +02:00
Sebastian Wilzbach
18a8b6b15e
Merge pull request #455 from dlang-community/issue-454
...
fix #454 - Ddoc for unions are not detected
2017-06-15 00:16:45 +02:00
Sebastian Wilzbach
345f26465c
Allow duplicate braces in allman style ( #449 )
2017-06-13 15:37:53 +02:00
Basile Burg
596135f596
fix 454 - Ddoc for unions are not detected
2017-06-13 08:45:21 +02:00
Sebastian Wilzbach
09205ddaf9
Add allman check ( #446 )
2017-06-12 13:33:23 +02:00
Sebastian Wilzbach
dab25d5e31
Fix more problems in the sorted import checker ( #445 )
...
* Sorted imports: put ConditionalDeclaration and IfStatement in a separate scope
* Allow intermediate imports
2017-06-12 11:26:43 +02:00
Sebastian Wilzbach
6d34b149a9
Fix #422 - False negative: sorted imports with : ( #444 )
...
* Fix #422 - False negative: sorted imports with :
* Fix #422 : Add another test
2017-06-12 10:29:20 +02:00
Sebastian Wilzbach
6fad779ec2
Fix #439 - Line length false positives in Phobos ( #440 )
2017-06-12 10:29:00 +02:00
Basile Burg
6e9e841a9a
Add a check for useless initializers, close #285 ( #429 )
...
* Add a check for useless initializers, close #285
# Conflicts:
# src/analysis/config.d
* remove duplicated oror condition
* remove useless protection
* also handle several case of assignation to init
* assign to init, forgot to test for ".init"
* update with new configuration initialization
2017-05-17 17:46:10 +02:00
Basile Burg
28945dec81
Merge pull request #428 from BBasile/issue-352
...
fix #352 - False positive: Parameter is never used, pointers
2017-05-17 14:50:02 +02:00
Basile Burg
40b183aed9
fix #431 , Virtual call in ctor - problem with overloaded virtual methods ( #432 )
2017-05-12 15:25:58 +02:00
Basile Burg
cd5dbd84e0
in storage class doesn't mean ref/assignable
2017-05-08 18:24:15 +02:00
Basile Burg
004847624b
fix #352 - False positive: Parameter is never used, pointers
2017-05-08 15:39:01 +02:00
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
Hackerpilot
43772fcc15
Fix #420 . This is where a good weed joke would go if I had one.
2017-03-09 12:31:47 -08:00
Brian Schott
eff9fb7571
Merge pull request #417 from sprinkle131313/master
...
Fix #403 : Handle unsearchable file.
2017-03-07 14:36:53 -08:00
sprinkle131313
2dbda715b1
Fix #403 : Handle unsearchable file.
2017-02-26 15:45:25 -05: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
Elronnd
868c8c46d3
Fix a typo in the css for the highlighter
2017-02-13 22:55:00 -07:00
Hackerpilot
87e42ae194
Update version number
2017-02-13 14:32:31 -08: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
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
Hackerpilot
d2502be9e9
Fix issues with AST output
2016-02-05 02:25:49 -08:00
Hackerpilot
5099545546
Fix #305
2016-02-04 15:18:49 -08:00
Hackerpilot
49de812e47
Fix mismatched XML tags
2016-02-01 03:07:02 -08:00
Hackerpilot
359f52d25b
Update libdparse
2016-01-29 01:33:31 -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
72fb0ef8b2
Make help text comply with docopt standard
2016-01-26 23:35:26 -08:00
Hackerpilot
831b499fcd
Decrease memory use of ctags generation
2016-01-26 23:34:56 -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
ecf476a341
Dub updates
2016-01-14 00:25:19 -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
26500bf876
Token dump now uses the parser behavior while lexing
2016-01-11 17:41:39 -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
ec14694db1
Fix duplicated output for unary expressions
2015-09-25 14:40:53 -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
Hackerpilot
eb50bc9e18
Fix #270
2015-09-17 23:39:38 -07:00
Martin Nowak
71575a8e18
fix statement is not reachable error in unittest
2015-09-14 19:32:16 +02:00
Whitebyte
af53b74106
Check args similar to tokenCount
2015-08-27 20:43:10 +06:00
Joakim Brannstrom
3025185a55
Update after code review.
2015-07-17 13:01:16 +02:00
Joakim Brannstrom
81bc94e873
Extended ctags generation with Exuberant metadata used by Vim.
2015-07-17 01:33:04 +02:00
Hackerpilot
ae7df76154
Fix sefgault in undocumented declaration check^C
2015-06-11 15:50:15 -07:00
Hackerpilot
7a0eb5f13d
Update to beta1
2015-06-04 17:35:58 -07:00
Hackerpilot
cad1f05367
Implement #243
2015-06-04 17:35:20 -07:00
Hackerpilot
77a7b4f5d2
Implement #239
2015-06-04 16:50:29 -07:00
Hackerpilot
017d208405
Get rid of run function
2015-06-04 16:35:02 -07:00
Hackerpilot
81c38d5ee8
Fix #255
2015-06-04 16:33:16 -07:00
Hackerpilot
a078e7bbe1
Use regex for better getter/setter function detection
2015-06-04 16:17:56 -07:00
Hackerpilot
066c44070e
Fix #266
2015-06-04 14:41:57 -07:00
Hackerpilot
0d80bcf5e3
Implement #258
2015-06-04 13:51:16 -07:00
Hackerpilot
f4db04bcb0
Delete commented code
2015-06-04 13:48:20 -07:00
Hackerpilot
5d18abc4e2
Merge branch 'master' of https://github.com/Hackerpilot/Dscanner into 0.3.0-dev
2015-05-29 09:29:55 -07:00
Hackerpilot
d251a7aeb2
Fix #261
2015-05-29 09:06:08 -07:00
Hackerpilot
b6233f6d7d
Fix #260 by skipping declarations inside of version(unittest) or version(none)
2015-05-29 08:58:09 -07:00
Hackerpilot
e48dc0acc5
Enable function parameter caching for cached symbols
2015-05-29 08:47:57 -07:00
Hackerpilot
faf5816322
Fix #260 by skipping declarations inside of version(unittest) or version(none)
2015-05-29 08:47:01 -07:00
Hackerpilot
7e0d0dd130
Improve accuracy of unmodified variable check
2015-05-29 08:45:27 -07:00
Hackerpilot
f6dde09c57
Comment cleanup
2015-05-29 08:43:06 -07:00
Hackerpilot
6b345f5c01
Merge remote-tracking branch 'origin' into 0.3.0-dev
2015-05-28 11:16:36 -07:00
Hackerpilot
6b18fa8640
#244
2015-05-28 10:24:49 -07:00
Basile Burg
816bd492de
removed a probable debug message
2015-05-27 14:47:26 +02:00
Hackerpilot
a3c4a5384a
Starting work on 0.3.0
2015-05-26 00:24:21 -07:00
Hackerpilot
4786c1fc1b
Fix #256
2015-05-17 17:12:37 -07:00
Hackerpilot
960881e607
WIP
2015-05-17 16:22:51 -07:00
Brian Schott
fd4b4edda9
Merge pull request #254 from WalterWaldron/fix242fix
...
unused_label: Fix crash on empty label statement
2015-05-12 10:10:20 -07:00
WalterW
38b6deaa25
unused_label: Fix crash on empty label statement
2015-05-12 09:04:58 -04:00
Timothee Cour
d283576390
fix https://github.com/Hackerpilot/Dscanner/issues/251
2015-05-11 21:30:01 -07:00
Timothee Cour
fbd88477b8
fix https://github.com/Hackerpilot/Dscanner/issues/251
2015-05-11 21:28:09 -07:00
Timothee Cour
42923725cb
_
2015-05-11 20:15:53 -07:00
WalterW
1945b4bee9
Fix #242 - Warn about unused labels
2015-05-11 10:15:53 -04:00
Dan Olson
41b9ef708e
Don't etag private/package by default
...
Declarations hidden from other packages (private or package protection)
will not be tagged. New option --etagAll to tag private/package too.
2015-05-09 15:42:30 -07:00
Dan Olson
5790fc3db0
etags: add module, alias, and anonymous struct fix
...
Added tags for module declaration and aliases. Fix tagging for
anonymous struct members. Also fixed off-by-one error index a tag is on
first line.
2015-05-09 15:40:54 -07:00
Basile Burg
352c6ee8e6
fix, 32bit compilation
2015-05-05 03:22:18 +02:00
Hackerpilot
b73e8c4fca
Update libdparse
2015-05-04 14:55:36 -07:00
Dan Olson
7eedcef77b
Generate etags
...
Generate Emacs style etags with -e. Uses similar pattern as ctags.
This verison scopes all tags with module name and does not generate tags
for function or unittest scoped declarations. May want to make some of
this configurable and add other stuff like tags for aliases.
2015-04-28 00:33:40 -07:00
Hackerpilot
7b115caf3f
Cleanup
2015-04-23 19:32:57 -07:00
Hackerpilot
b5c9bca463
Fix #236
2015-04-23 19:20:02 -07:00
Hackerpilot
5e24ca4a7e
Not suitable for stellar cartography
2015-04-13 16:42:46 -07:00
Hackerpilot
2633834e64
Remove useless import
2015-04-13 16:37:37 -07:00
Hackerpilot
25b856f607
Update libdparse
2015-04-13 16:37:24 -07:00
George Sapkin
52155be821
Fixed compilation with dmd 2.066
2015-03-07 10:56:36 +01:00
Hackerpilot
4849326745
Disable redundant if expression check due to false positives
2015-02-21 22:52:50 -08:00
Hackerpilot
dbea951e5d
Implement #232
2015-02-21 02:13:38 -08:00
Hackerpilot
2b79fca42e
False positive on inout @property functions
2015-02-01 03:08:42 -08:00
Hackerpilot
05cc5bf635
Update libdparse
2015-02-01 00:26:41 -08:00
Hackerpilot
e498d461df
Better version number support.
2015-01-29 02:12:09 -08:00
Hackerpilot
c9f59b3149
Those never needed to be public in the first place
2015-01-27 02:34:37 -08:00
Hackerpilot
73e56f13fb
Update libdparse
2015-01-27 02:31:03 -08:00
Hackerpilot
13a5a3e693
Minor fixes
2015-01-26 13:13:12 -08:00
Hackerpilot
0e89df07f8
Code cleanup
2015-01-26 01:34:28 -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
Hackerpilot
5d2aebbf0a
More improvements to the unmodified variable check
2015-01-16 11:10:41 -08:00
Hackerpilot
235af118d1
Whitespace
2015-01-15 13:32:12 -08:00
Hackerpilot
8dc46e3992
Improvements to the onmodified variable checker
2015-01-15 13:24:42 -08:00
Hackerpilot
f7ffced8ee
More enum fixes
2015-01-14 18:11:42 -08:00
Hackerpilot
55091c8b5c
Things marked 'enum' should not be changed to 'immutable
2015-01-14 18:04:20 -08:00
Hackerpilot
fd51353abf
Add possible immutable variable detector
2015-01-14 17:54:51 -08:00
Hackerpilot
1c7df37b46
Update libdparse
2015-01-12 14:22:37 -08:00
Hackerpilot
3d6ced141c
Fix range violation
2015-01-07 15:26:12 -08:00
Hackerpilot
5180a5b857
Fix #219
2015-01-06 16:57:26 -08:00
Hackerpilot
7a80c0f643
Fix #217
2015-01-05 17:52:10 -08:00
Hackerpilot
94c479a641
Fix compile error
2015-01-05 13:39:24 -08:00
Hackerpilot
d0f30eb140
Fix #215
2015-01-04 02:20:05 -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
sinkuu
eb86a0c196
Fix XML syntax error
2014-12-26 07:28:07 +09: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
504fcc830e
Change message for variables that might be used in mixin expressions
2014-11-17 14:53:37 -08:00
Hackerpilot
cbe4d9657b
Fix whitespace
2014-11-06 15:08:31 -08:00
Hackerpilot
aaf4301727
#213
2014-10-30 12:03:49 -07:00
Hackerpilot
a1e454f908
Fix #213
2014-10-29 14:59:24 -07:00
Hackerpilot
3a12f850ed
Fix #208
2014-10-01 14:55:38 -07:00
Hackerpilot
95c8b1b19a
Add local import check
2014-09-23 14:33:16 -07:00
Hackerpilot
33767f2d5c
Revert "Removed array initializers. See issue 13496"
...
This reverts commit aadc059d19 .
2014-09-18 15:15:14 -07:00
Hackerpilot
aadc059d19
Removed array initializers. See issue 13496
2014-09-18 14:16:49 -07:00
Hackerpilot
d270b052ec
Implement --version switch
2014-09-15 22:19:33 -07:00
Hackerpilot
6617f8d01c
Death to the comma operator
2014-09-04 16:24:51 -07:00
Hackerpilot
53a0958e6b
Fix #206
2014-09-03 14:07:59 -07:00
Hackerpilot
6258e9886e
Reduce noise in undocumented symbol check
2014-09-03 08:42:47 +00:00
Hackerpilot
8eb19d9235
Ignore some operator overloads when checking for undocumented declarations
2014-09-02 11:46:14 -07:00
Hackerpilot
ec4ba5f91f
Disable undocumented symbol check inside of templates due to large number of false positives
2014-08-29 17:04:04 -07:00
Hackerpilot
1c008b98bc
Add check for undocumented public symbols
2014-08-29 13:50:52 -07:00
Hackerpilot
e2e324cd7b
Added various metrics to --report output
2014-08-28 19:06:54 -07:00
Hackerpilot
2ff3b02aa7
Disable naming convention check on anonymous unions and structs
2014-08-27 12:27:25 -07:00
Hackerpilot
a6325f1cf2
Fix #203
2014-08-25 12:52:01 -07:00
Hackerpilot
77d6b1baf6
Project reorganzation
2014-08-22 15:41:48 -07:00