Reijo Tomperi
|
0b2e7a0ef3
|
Refactoring: at() changed to tokAt() and getstr() changed to strAt()
|
2008-11-23 10:09:16 +00:00 |
Reijo Tomperi
|
3ba83b6620
|
Refactoring: token.* files added, Some functions from Tokenizer moved under TOKEN. Renamed few functions, like gettok() -> at(), combineWithNext() and deleteNext() are also new
names for old functions. Usage was gettok( tok, 2 ), but now it is tok->at( 2 ).
|
2008-11-22 22:49:14 +00:00 |
Daniel Marjamäki
|
0d3a99adb0
|
increased constness of member variable _tokenizer in the Check* classes
|
2008-11-22 20:00:36 +00:00 |
Reijo Tomperi
|
125692bc65
|
Refactoring: CommonCheck.* files are removed. Rest of the global functions from there were moved to Tokenizer class
|
2008-11-21 21:14:24 +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 |
Reijo Tomperi
|
180e3b99e6
|
Refactoring: Some global functions moved to Tokenizer class
|
2008-11-20 20:54:52 +00:00 |
Reijo Tomperi
|
aa579911ab
|
Refactoring: Global variable tokenes is no more.
|
2008-11-16 15:58:52 +00:00 |
Reijo Tomperi
|
ce08224547
|
Few static variables are now private members. ShowAll etc. global variables are now members of Settings class and given as a
parameter to the classes that need them.
|
2008-11-16 15:18:50 +00:00 |
Daniel Marjamäki
|
8c9c6529b8
|
Uninitialized Member Variables: Fixed bug 'false positive on multi constructors'
|
2008-11-15 15:22:10 +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 |
Daniel Marjamäki
|
4995c5d4c6
|
Uninitialized variable: chained assignments
|
2008-11-13 18:16:36 +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
|
58f0f03449
|
Unused private function: return pointer to private function
|
2008-11-11 20:19:28 +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
|
f8a60ae5c2
|
CheckClass: Applied patch 2220196
|
2008-11-06 00:00:38 +00:00 |
Daniel Marjamäki
|
fd4b02e538
|
CheckClass: Removed false positive "unused private function" for typedef (Bug 2220326)
|
2008-11-05 07:25:28 +00:00 |
Daniel Marjamäki
|
7d234fd5c2
|
Class Checking: Fixed AV in FindClassFunction
|
2008-11-02 12:48:45 +00:00 |
Daniel Marjamäki
|
d60d133671
|
Uninitialized Member Variables: Fixed problems with different classes with same name (Bug 2208157)
|
2008-11-01 18:01:35 +00:00 |
Daniel Marjamäki
|
0dc9235f4f
|
Uninitialized member variables: Removed false positives when using operator= (Bug 2190376)
|
2008-11-01 17:00:36 +00:00 |
Daniel Marjamäki
|
c284e7efad
|
Uninitialized Member Variables: Check statements that begin after for example "if (..)" or "else" (Bug 2190290)
|
2008-11-01 06:41:45 +00:00 |
Daniel Marjamäki
|
644b3057ed
|
Unitialized Members Variables: Fixed false positives when using "this"
(Bug
2190300)
|
2008-11-01 06:25:42 +00:00 |
Daniel Marjamäki
|
5b9aa96aba
|
Licensing: Using the GPL 3 license
|
2008-10-26 07:55:15 +00:00 |
Daniel Marjamäki
|
bacc402d04
|
CheckClass: Minor fix to make it compile in Visual c++
|
2008-10-21 08:47:26 +00:00 |
Daniel Marjamäki
|
69700da5e1
|
CheckConstructors: Handle recursion better. Don't hang.
|
2008-10-19 15:21:18 +00:00 |
Daniel Marjamäki
|
5e9f1010ff
|
compilation: Various cross compilation fixes. The "--recursive" option doesn't work on VC now.
|
2008-09-11 17:03:58 +00:00 |
Daniel Marjamäki
|
ae322b5f45
|
made cppcheck compile with g++ 4.3
|
2008-08-30 18:29:37 +00:00 |
Daniel Marjamäki
|
77389640cf
|
Checking memset/memcpy/memmove. Removed false positives
|
2008-04-18 17:18:22 +00:00 |
Daniel Marjamäki
|
53f078fc1d
|
Minor updates. Added todo. Refactoring
|
2008-04-12 12:07:35 +00:00 |
Daniel Marjamäki
|
c56cfb5305
|
Match: Added matching for []
|
2008-04-02 09:37:05 +00:00 |
Daniel Marjamäki
|
f8569f0db4
|
Refactoring: Removed 'HasErrors'. Better usage of 'Match'. Hid the 'FunctionList'
|
2008-03-28 17:40:24 +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
|
44bee90d82
|
Refactoring (Replace '->' with '.', use matching function when possible)
|
2008-03-23 14:15:44 +00:00 |
Daniel Marjamäki
|
ab7cb379af
|
In the checks, use const pointers
|
2008-03-22 11:46:06 +00:00 |
Daniel Marjamäki
|
85a50103a5
|
Better checking of class declarations.
|
2008-03-18 07:46:42 +00:00 |
Daniel Marjamäki
|
6e2e624bce
|
Removed false positives
|
2008-02-22 07:26:10 +00:00 |
Daniel Marjamäki
|
a40c1e9eb7
|
CheckClass: Improved constructor checking
|
2008-02-19 07:09:09 +00:00 |
Daniel Marjamäki
|
72d9e43f92
|
Made it compilable by borland c++
|
2008-02-18 17:11:34 +00:00 |
Daniel Marjamäki
|
edc4177df3
|
ClassChecking: Only enable the 'no constructor' warning if '--style' is given
|
2008-02-18 17:04:14 +00:00 |
Daniel Marjamäki
|
46d8fe0fad
|
Class Checking: No constructor
|
2008-02-18 16:28:37 +00:00 |
Daniel Marjamäki
|
a8e6a4c343
|
Better checking of uninitialized variables
|
2008-01-17 07:46:10 +00:00 |
Daniel Marjamäki
|
a770561de4
|
check for uninitialized variables - less generic to increase accuracy
|
2008-01-10 19:01:16 +00:00 |
Daniel Marjamäki
|
658f33328b
|
remove false positives (uninitialized class members)
|
2007-10-29 08:20:07 +00:00 |
Daniel Marjamäki
|
c5580b8464
|
CheckClass: Treating all "std::*" as initialized.
|
2007-10-23 06:37:13 +00:00 |
Daniel Marjamäki
|
8d116542ab
|
Removing false positives
|
2007-08-31 04:23:09 +00:00 |
Daniel Marjamäki
|
8af24ee783
|
Always give a warning when 'memset' is used upon a class
|
2007-07-20 06:18:33 +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
|
3991ccab25
|
CheckClass: Moved 'IsName' from main to commoncheck
|
2007-05-25 06:47:04 +00:00 |
Daniel Marjamäki
|
f20c34a751
|
CheckClass; Added files (Check for mistakes related to classes)
|
2007-05-24 13:07:30 +00:00 |