Commit Graph

1207 Commits

Author SHA1 Message Date
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
Sebastian Wilzbach efc771fc7a Add installing with DUB instructions 2017-05-17 13:08:57 +02:00
skl131313 e844a98f4d Merge pull request #430 from skl131313/travis-dub
Refactor travis config to include osx, dmd-beta, and dub.
2017-05-12 13:30:13 -04:00
Basile Burg 40b183aed9 fix #431, Virtual call in ctor - problem with overloaded virtual methods (#432) 2017-05-12 15:25:58 +02:00
skl131313 a393d5f0be Refactor travis config to include osx, dmd-beta, ldc2 and dub. 2017-05-12 00:55:21 -04:00
Richard Andrew Cattermole 67834d50df Merge pull request #412 from BBasile/issue-406
disable Phobos-specific checks by default, close #406
2017-05-12 16:39:01 +12:00
Basile Burg cd5dbd84e0
in storage class doesn't mean ref/assignable 2017-05-08 18:24:15 +02:00
Basile Burg 1a2232f724 update readme badge address (#427)
update readme badge address
2017-05-08 16:26:35 +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
Brian Schott b2d96ad777 Merge pull request #424 from BBasile/issue-423
implement a check for the virtual calls inside constructors, close #423
2017-04-27 12:01:55 -07: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
Brian Schott 25f31cd0a4 Merge pull request #413 from BBasile/issue-198
fix #198 - Function casing warning on `extern(Windows)`
2017-03-07 13:54:15 -08:00
Brian Schott 6b97e2d4ae Merge pull request #418 from Heromyth/master
build.bat is out of date
2017-03-07 13:51:29 -08:00
BitWorld 4613054bb3 build.bat is out of date 2017-03-03 13:14:51 +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
Brian Schott e2e500f43e Merge pull request #404 from LaurentTreguier/patch-2
Escape backslashes before quotes in JSON report
2017-02-16 14:53:17 -08: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
Brian Schott 4d3d72d9aa Merge pull request #402 from Elronnd/master
Fix a typo in the css for the highlighter
2017-02-15 21:55:35 -08: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
Hackerpilot fb01d0cbc0 Update dsymbol 2017-02-13 14:29:36 -08:00
Brian Schott 353f824c26 Merge pull request #401 from BBasile/issue-400
fix #400 - TypeCtors, false positive for unmodified variable
2017-02-13 10:16:17 -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
Brian Schott 5f40f5ac9f Merge pull request #398 from BBasile/fix-finalattrib
prevent to check for final attribs inside templates
2017-02-03 22:22:52 -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
Hackerpilot 1ee033392c Pull in libdparse fix 2017-02-03 16:12:31 -08:00
Hackerpilot f5ebbb6e86 Update libdparse to get a regression fix 2017-02-03 14:36:41 -08:00
Hackerpilot 0d42da4912 Fix #397 2017-02-03 12:09:02 -08: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
Brian Schott 4d1c0848e3 Merge pull request #395 from BBasile/final-attrib-checker
Add a checker for cases where final is a noop
2017-01-17 13:31:40 -08: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