Reijo Tomperi
|
aa579911ab
|
Refactoring: Global variable tokenes is no more.
|
2008-11-16 15:58:52 +00:00 |
Daniel Marjamäki
|
add2283724
|
cleanup files
|
2008-11-15 13:05:58 +00:00 |
Daniel Marjamäki
|
9034c8b27e
|
Uninitialized member variable: Added unit test that currently fails for bug 2270353 - Uninitialized variable false positive on multi constructors
|
2008-11-15 08:53:51 +00:00 |
Reijo Tomperi
|
1efb4c95a6
|
Refactoring: Global variable Files is no more. Use tokenizer->getFiles() to get a pointer to it.
|
2008-11-13 22:39:47 +00:00 |
Reijo Tomperi
|
134985e410
|
Refactoring: Tokenizer object given as a parameter to most of the classes
|
2008-11-12 21:34:47 +00:00 |
Daniel Marjamäki
|
3a39259472
|
Refactoring: Don't use the TOKEN::str directly
|
2008-11-11 17:46:53 +00:00 |
Reijo Tomperi
|
f242c4fddd
|
Refactoring: Following new classes were created:
CheckBufferOverrunClass
CheckClass
CheckHeaders
CheckMemoryLeakClass
CheckOther
Preprocessor
|
2008-11-11 06:42:09 +00:00 |
Reijo Tomperi
|
ef9f472188
|
Refactoring: Tokenizer class added, functions still mostly static and
using globals
|
2008-11-09 07:19:53 +00:00 |
Daniel Marjamäki
|
6a3d957366
|
CheckAlpha: Expanded checking to include 'isupper' and 'islower'
|
2008-11-06 00:04:52 +00:00 |
Daniel Marjamäki
|
ffa8e3d0b6
|
TestCharVar: Fixed some false positives
|
2008-11-02 16:29:36 +00:00 |
Daniel Marjamäki
|
5b9aa96aba
|
Licensing: Using the GPL 3 license
|
2008-10-26 07:55:15 +00:00 |
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 |