Daniel Marjamäki
|
30e1d5c06e
|
CheckIncompleteStatement: Fixed false positive generated by CheckIncompleteStatement (bug 2187837)
|
2008-10-23 17:45:24 +00:00 |
Daniel Marjamäki
|
b2b3e48ebc
|
Unsigned division: Checking if negative constant is used
|
2008-10-06 16:42:42 +00:00 |
Daniel Marjamäki
|
5115420809
|
CheckUnsignedDivision: Made it more accurate and moved it to the
standard checks
|
2008-10-04 12:12:24 +00:00 |
Daniel Marjamäki
|
6881a364a2
|
CheckOther: Minor updates. Removed false positives for CheckScope
|
2008-09-23 16:03:39 +00:00 |
Daniel Marjamäki
|
815dd364ed
|
Incomplete statement: Check for statements that begin with a constant
|
2008-09-20 17:34:37 +00:00 |
Daniel Marjamäki
|
c77b81fddd
|
CheckOther: Minor updates in checking of signed char variables and unsigned division
|
2008-09-16 05:57:57 +00:00 |
Daniel Marjamäki
|
528deafe68
|
CheckUnsignedDivision: Refactoring
|
2008-09-15 06:40:26 +00:00 |
Daniel Marjamäki
|
ae322b5f45
|
made cppcheck compile with g++ 4.3
|
2008-08-30 18:29:37 +00:00 |
Daniel Marjamäki
|
778410ccbf
|
char variable usage: Added checking
|
2008-08-28 06:36:30 +00:00 |
Daniel Marjamäki
|
7752f2c62c
|
testdivision: changed the error message. hopefully it is clearer
|
2008-08-27 06:32:35 +00:00 |
Daniel Marjamäki
|
81bcde9ed0
|
cleanup: removed spaces
|
2008-08-12 06:40:55 +00:00 |
Daniel Marjamäki
|
c2b76372b9
|
CheckOther: Removed unused functions
|
2008-05-14 04:30:56 +00:00 |
Daniel Marjamäki
|
58b1b5f101
|
CheckStructMemberUsage: Added more cases
|
2008-05-10 06:48:37 +00:00 |
Daniel Marjamäki
|
219d82e180
|
CheckStructMemberUsage: Check for unused struct members
|
2008-05-09 18:29:42 +00:00 |
Daniel Marjamäki
|
a4486fb883
|
CheckConstantFunctionParameters: Updated the check to handle all std::.. struct and class
|
2008-05-03 09:44:20 +00:00 |
Daniel Marjamäki
|
cae2e190da
|
Added check: passing constant function parameter by value instead of by reference/pointer
|
2008-05-03 07:20:25 +00:00 |
Daniel Marjamäki
|
60e454fa11
|
Minor updates. Removed some false positives when checking variable scope
|
2008-04-01 06:21:12 +00:00 |
Daniel Marjamäki
|
89605c0167
|
Fixed minor bugs
|
2008-03-29 17:27:02 +00:00 |
Daniel Marjamäki
|
4691999ede
|
Refactoring: Replaced deprecated "match" with the new "Match"
|
2008-03-28 07:18:03 +00:00 |
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 |