Commit Graph

46 Commits

Author SHA1 Message Date
Hackerpilot 84a0e706c2 Project restructuring 2014-06-25 19:03:57 -07:00
Matthew Brennan Jones d4a72712a9 Updated checker to check for opEquals without toHash, as well as toHash without opEquals. 2014-05-31 13:38:16 -07:00
Matthew Brennan Jones 2a4fcbbd9d Added checker for having opEquals without toHash. 2014-05-30 20:47:56 -07:00
Matthew Brennan Jones ed188ee9be Small cleanup of style and junk comments. 2014-05-29 17:19:25 -07:00
Matthew Brennan Jones 34b312b45e Fixed issue where warnings on line zero would break unit tests. 2014-05-29 16:14:52 -07:00
Hackerpilot f8c9f5c955 Issue warning on LastCatch as well 2014-05-28 10:50:02 -07:00
Hackerpilot 8d34ba7144 Fix incorrect unused parameter warnings in function types 2014-05-27 04:56:40 +00:00
Hackerpilot 59ca571012 Use binary literals for bit masks 2014-05-26 01:30:51 +00:00
Hackerpilot 06f9891b62 Prevent false positive in slice error 2014-05-26 01:24:04 +00:00
Matthew Brennan Jones 657ef65952 Added pure and nothrow to the duplicate attribute checker. 2014-05-25 13:06:38 -07:00
Matthew Brennan Jones fad096cdff Added more attributes to the duplicate checker. 2014-05-24 18:24:37 -07:00
Matthew Brennan Jones 22104911d4 Added basic checker for duplicate attributes. 2014-05-23 20:37:48 -07:00
Hackerpilot 12d6120e10 Remove unnecessary blank lines from output 2014-05-19 14:48:23 -07:00
Hackerpilot 7a2d5f7e73 Fixed bug in unused parameter check 2014-05-18 00:48:35 +00:00
Hackerpilot 525790aefc Fix unit tests 2014-05-18 00:22:22 +00:00
Matthew Brennan Jones 277e478466 Cleanup of test functions. 2014-05-17 12:17:44 -07:00
Matthew Brennan Jones 8231a0d1b8 Added basic unit tests to some analyzers. 2014-05-16 18:47:13 -07:00
Hackerpilot 43a8284c07 Relax exception check so that it only warns on catching Throwable and Error. Fix #159 2014-05-14 18:02:18 -07:00
Hackerpilot 8b4b2b342f Thrown variables are used 2014-05-13 14:08:07 -07:00
Hackerpilot 35e568a756 Fix unused parameter warnings for in and out parameters 2014-05-12 18:09:02 -07:00
Hackerpilot 1c87c48aa0 Numbers in module names are also permitted by the Phobos style guide 2014-05-12 18:08:14 -07:00
Hackerpilot fd60696a24 Fix segfault 2014-05-12 16:39:59 -07:00
Hackerpilot e0dc18a8b5 Fixed several issues with the unused variable finder and relaxed the number format rule 2014-05-12 16:03:05 -07:00
Hackerpilot b105a0f6a2 Remove more false positives in unused variable detection 2014-05-12 10:53:27 -07:00
Hackerpilot 87732c6657 Added unused variable check, and then used it to remove some unused variables 2014-05-10 02:56:01 -07:00
Hackerpilot 8954fff8e4 Fixed decimal lexing and renamed stdx to std 2014-04-23 14:26:37 -07:00
Hackerpilot 39f14f89f5 Merge branch 'new_branch_name'
Conflicts:
	analysis/run.d
	stdx/d/ast.d
2014-04-21 15:33:29 -07:00
Hackerpilot 7c22e9a849 Added check for identical if/else blocks and obvious self-assignment 2014-04-21 15:26:54 -07:00
Hackerpilot 06cf70b34c Fix hex literals in foreach loops 2014-04-21 15:25:45 -07:00
Matthew Brennan Jones 1d2c529b24 Added missing check for <>=, the deprecated floating point operator. 2014-04-13 12:21:44 -07:00
Hackerpilot 65d2f29082 Fix #157 2014-04-10 14:09:33 -07:00
Hackerpilot df92a4d722 Added some checks for default constructors 2014-04-09 12:17:40 -07:00
Hackerpilot 7102f557e5 Reverted a change that should not have been on this branch 2014-03-08 22:49:54 -08:00
Hackerpilot d157d31634 Convert message function to delegate so that it can actually do something useful 2014-03-08 22:33:00 -08:00
Hackerpilot f0e8e848ab Fix problem with suffixed number literals 2014-03-04 22:47:14 -08:00
Hackerpilot 7288514a1b Run static analysis checks in parallel. Implement #130 2014-03-03 23:09:20 -08:00
Hackerpilot b60df8e5c4 Make most AST classes final and most methods for processing them const 2014-03-03 22:24:58 -08:00
Hackerpilot b2b7fc3e17 Fix issue with backwards range check dying on numbers with underscores 2014-03-01 01:55:59 -08:00
Hackerpilot ffe9a5d986 Fix #113 2014-02-19 16:38:02 -08:00
Hackerpilot 619f1f05c8 Fix #111 2014-02-17 21:10:23 -08:00
Hackerpilot a39b492e21 Update numbers.d
Fix #91. 2.064.2 does not have opCast(bool) defined in Captures, so check the result of empty().
2014-01-31 13:07:50 -08:00
Hackerpilot 451be80c5a Update numbers.d
Fixed copy/pasted doc comment.
2014-01-31 12:46:00 -08:00
Hackerpilot 3df1324e9b Relaxed rules on number formatting for #84. Implemented #86 2014-01-26 23:29:45 -08:00
Hackerpilot 6bed0a287a Implement #84 2014-01-26 23:00:57 -08:00
Hackerpilot d13d680b74 Updated lexer docs. Implemented delete and fp operator rules. Fixed bug with AST traversal 2014-01-26 22:47:21 -08:00
Hackerpilot 8a444fbd89 Initial static analysis checks 2014-01-20 20:09:32 -08:00