Commit Graph

19 Commits

Author SHA1 Message Date
Daniel Marjamäki 0d3a99adb0 increased constness of member variable _tokenizer in the Check* classes 2008-11-22 20:00:36 +00:00
Reijo Tomperi 51e9d98a5f Refactoring: Errors are no longer logged via global functions to a global stream. Instead callback function is used via interface.
ErrorLogger interface was added and taken into use.
2008-11-20 22:19:26 +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 134985e410 Refactoring: Tokenizer object given as a parameter to most of the classes 2008-11-12 21:34:47 +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
Daniel Marjamäki 5b9aa96aba Licensing: Using the GPL 3 license 2008-10-26 07:55:15 +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 778410ccbf char variable usage: Added checking 2008-08-28 06:36:30 +00:00
Daniel Marjamäki c2b76372b9 CheckOther: Removed unused functions 2008-05-14 04:30:56 +00:00
Daniel Marjamäki 219d82e180 CheckStructMemberUsage: Check for unused struct members 2008-05-09 18:29:42 +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 a9524b9207 Added test 'CheckVariableScope'. Increased constness. 2008-03-16 13:17:43 +00:00
Daniel Marjamäki 08b3b2ab63 CheckUnsignedDivision: Added check. Not very accurate yet. 2008-02-20 18:20:59 +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 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 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