Daniel Marjamäki
|
75debeba37
|
Reverted 205:207
|
2008-03-23 13:38:01 +00:00 |
Daniel Marjamäki
|
34a2fdfb37
|
Refactoring
|
2008-03-23 13:27:34 +00:00 |
Daniel Marjamäki
|
3dfc79d3b6
|
Refactoring: Use 'setindentlevel'
|
2008-03-23 07:57:27 +00:00 |
Daniel Marjamäki
|
ab7cb379af
|
In the checks, use const pointers
|
2008-03-22 11:46:06 +00:00 |
Daniel Marjamäki
|
c5e7cb4032
|
'CheckUnsignedDivision' -> more errors. 'CheckVariableScope' -> removed false errors.
|
2008-03-21 06:44:52 +00:00 |
Daniel Marjamäki
|
313d3dafa1
|
Rewrote the checking for "unsigned division" => less false positives
|
2008-03-20 07:23:01 +00:00 |
Daniel Marjamäki
|
b1b7593c76
|
Updates here and there to make it more accurate
|
2008-03-19 06:03:56 +00:00 |
Daniel Marjamäki
|
101afe4344
|
Checking variable scope
|
2008-03-17 11:05:30 +00:00 |
Daniel Marjamäki
|
119e719d52
|
bug fixes for 'CheckVariableScope'
|
2008-03-16 17:39:38 +00:00 |
Daniel Marjamäki
|
a9524b9207
|
Added test 'CheckVariableScope'. Increased constness.
|
2008-03-16 13:17:43 +00:00 |
Daniel Marjamäki
|
a6696d6f7d
|
Removed false positives and also duplicate error messages.
|
2008-02-22 14:30:43 +00:00 |
Daniel Marjamäki
|
942c48474c
|
comments
|
2008-02-22 07:26:23 +00:00 |
Daniel Marjamäki
|
7bbdb7a3ba
|
removed false positives for CheckUnsignedDivision
|
2008-02-21 19:05:11 +00:00 |
Daniel Marjamäki
|
08b3b2ab63
|
CheckUnsignedDivision: Added check. Not very accurate yet.
|
2008-02-20 18:20:59 +00:00 |
Daniel Marjamäki
|
8d116542ab
|
Removing false positives
|
2007-08-31 04:23:09 +00:00 |
Daniel Marjamäki
|
8c0c57ddf4
|
Added checks:
* CheckIfAssignment: assignment in condition
* CheckCaseWithoutBreak: case but no break/return
|
2007-07-24 06:23:28 +00:00 |
Daniel Marjamäki
|
ba13ad5e3c
|
Minor updates to make it portable to Linux.
|
2007-07-17 06:15:50 +00:00 |
Daniel Marjamäki
|
9af3e36c4d
|
CheckOther: minor bug fix
|
2007-06-10 18:26:06 +00:00 |
Daniel Marjamäki
|
8a1ec67b22
|
CheckOther: Improved the check that checks 'if (condition) var=true;'
|
2007-06-09 18:36:52 +00:00 |
Daniel Marjamäki
|
5b83f5d0cd
|
CheckOther: Added check. 'if (condition) var=true; else var=false;' => 'var = (condition);'
|
2007-06-08 18:19:15 +00:00 |
Daniel Marjamäki
|
746c99be28
|
Modified comments
|
2007-06-08 16:46:51 +00:00 |
Daniel Marjamäki
|
0525aeb5e4
|
Added check: "if (condition) var=true;" can be written as "var|=(condition);"
|
2007-06-06 17:33:28 +00:00 |
Daniel Marjamäki
|
921dd3cf21
|
Added check: suspicious usage of strtok
|
2007-06-05 20:29:03 +00:00 |
Daniel Marjamäki
|
10a7868fc6
|
Invalid Function Parameter: Check calls to strtol and strtoul
|
2007-06-05 18:58:27 +00:00 |
Daniel Marjamäki
|
cf7485ce0c
|
Added check: 'IsAlpha'
|
2007-06-05 04:51:01 +00:00 |
Daniel Marjamäki
|
f9e684d135
|
CheckOther: Added check for 'a=b; if (a==b)'
|
2007-06-02 16:29:05 +00:00 |
Daniel Marjamäki
|
162b02bcb4
|
CheckOther: Added files. This will contain checks that don't fit in the other checking files.
|
2007-05-25 06:51:18 +00:00 |