Robert Reif
|
9e61e7dda8
|
Fixed #1405 (false positive: operator = should return reference t
|
2010-02-17 22:46:03 +01:00 |
Daniel Marjamäki
|
0a6aa0f094
|
Fixed #1376 (Member variable not initialized in the constructor false positive)
|
2010-02-10 19:28:51 +01:00 |
Robert Reif
|
9591e09dd0
|
Fixed #1344 (false negative: missing const not found)
|
2010-02-08 07:25:19 +01:00 |
Daniel Marjamäki
|
9e6ea07c14
|
CheckClass::noMemset: Refactoring so it handles more complex std template types
|
2010-02-04 21:49:58 +01:00 |
Daniel Marjamäki
|
da7e75f69e
|
Class checking: Minor refactoring when analysing memset on class
|
2010-02-04 20:53:04 +01:00 |
Daniel Marjamäki
|
9943262da0
|
Fixed #1287 (Use of memset on struct - std template types not handled)
|
2010-02-04 19:40:35 +01:00 |
Daniel Marjamäki
|
f561441d90
|
Fixed #1319 (false negative: missing const not found)
|
2010-01-29 19:38:56 +01:00 |
Robert Reif
|
94c5d92b2b
|
Fixed #1323 (segfault with style in CheckClass::operatorEqRetRefThis())
|
2010-01-29 16:04:27 +01:00 |
Daniel Marjamäki
|
e12d115e9a
|
Fixed #1312 (false positive: missing const message on functions returning references)
|
2010-01-25 21:40:57 +01:00 |
Daniel Marjamäki
|
7ce4825f95
|
Fixed #1308 (False positive: The function 'x' can be const for a static member function)
|
2010-01-24 18:26:39 +01:00 |
Daniel Marjamäki
|
b4b97e5706
|
const: fixed false positive when using increment/decrement
|
2010-01-24 13:33:30 +01:00 |
Daniel Marjamäki
|
a0d8f44603
|
CheckClass: The operator< etc member functions can often be const
|
2010-01-23 22:36:04 +01:00 |
Daniel Marjamäki
|
aab05524e5
|
Fixed #1305 (False positive: The function 'x' can be const when indirectly calling a non-const member)
|
2010-01-23 21:08:40 +01:00 |
Daniel Marjamäki
|
9a6b450501
|
Fixed #1304 (False positive: The function 'x' can be const when modifing a member)
|
2010-01-23 20:59:20 +01:00 |
Daniel Marjamäki
|
5b76be4935
|
Fixed #1303 (False positive: The function 'x' can be const for a constructor)
|
2010-01-23 20:47:29 +01:00 |
Daniel Marjamäki
|
fb10396cb3
|
only run CheckClass::checkConst if style checking is on
|
2010-01-23 09:38:35 +01:00 |
Daniel Marjamäki
|
35c303943f
|
Partial fix for #13 - detect simple cases of member functions that can be const
|
2010-01-23 09:19:22 +01:00 |
Daniel Marjamäki
|
59de7934b7
|
Fixed #643 (Member variable not initialized not detected if any unknown function called)
|
2010-01-22 18:51:25 +01:00 |
Daniel Marjamäki
|
2de49129dc
|
Fixed #1259 (false postive: Member variable 'A::b' is not assigned a value in 'A::operator=')
|
2010-01-12 21:36:40 +01:00 |
Robert Reif
|
60ef3ef872
|
Fixed #1233 (false positive: operator = should check for assignment to self)
|
2010-01-08 19:15:24 +01:00 |
Daniel Marjamäki
|
485f3c7708
|
Fixed #1221 ([False positive] Member variable not initialized with operator[] gives wrong result)
|
2010-01-06 19:04:15 +01:00 |
Robert Reif
|
e6cc897e29
|
Fixed #1224 (segmentation fault of cppcheck)
|
2010-01-05 21:55:33 +01:00 |
Robert Reif
|
2a546dc9c0
|
Fixed #1184 (improve test: operator =)
|
2010-01-03 08:26:02 +01:00 |
Daniel Marjamäki
|
774e331dea
|
Self assignment in class: added TODO test cases to reduce false positives
|
2009-12-31 14:03:35 +01:00 |
Robert Reif
|
12641e2d76
|
Fixed #1184 (improve test: operator =)
|
2009-12-31 13:44:03 +01:00 |
Robert Reif
|
3a46ef0487
|
Fixed #1176 (void operator = check doesn't support struct)
|
2009-12-30 18:40:02 +01:00 |
Daniel Marjamäki
|
905533552d
|
Robert Reif: Fixed #1164 (only first void operator = found)
|
2009-12-29 07:48:37 +01:00 |
Daniel Marjamäki
|
e7c0e4d482
|
Fixed #1093 (False positive: missing constructor)
|
2009-12-19 17:58:52 +01:00 |
Daniel Marjamäki
|
01cfa3b6bd
|
Fixed #1072 (False positive: class member initialization with '*p=0;')
|
2009-12-13 09:36:59 +01:00 |
Daniel Marjamäki
|
4d185f0935
|
Fixed #1080 (false positive: member variable not initialized)
|
2009-12-11 21:34:04 +01:00 |
Daniel Marjamäki
|
c2a37c5d69
|
class checking: It's a 'possible style' error if a private constructor is not initializing a member variable
|
2009-12-06 18:35:32 +01:00 |
Daniel Marjamäki
|
39614a699e
|
Uninitialized variables: detect uninitialized pointer array
|
2009-11-10 19:35:54 +01:00 |
Daniel Marjamäki
|
c301dc1907
|
Fixed #928 (false positive: member variable not initialized in constructor)
|
2009-11-10 19:30:37 +01:00 |
Reijo Tomperi
|
9a55f4ca43
|
Add one more test case for #895 (false positive: Suspicious pointer subtraction)
|
2009-11-04 21:38:40 +02:00 |
Reijo Tomperi
|
80c66f8ebc
|
Fix #895 (false positive: Suspicious pointer subtraction)
http://sourceforge.net/apps/trac/cppcheck/ticket/895
|
2009-11-04 21:36:27 +02:00 |
Daniel Marjamäki
|
319cdc2b43
|
Fixed #880 (Tokenizer: The Tokenizer::simplifyTemplates doesn't handle recursive templates)
|
2009-11-01 19:03:52 +01:00 |
Daniel Marjamäki
|
09859c1019
|
refactoring the folder structure
|
2009-10-25 12:49:06 +01:00 |
Reijo Tomperi
|
1b1047a5e4
|
Fix #757 (Change message: (style) The class 'KClass' has no constructor)
http://sourceforge.net/apps/trac/cppcheck/ticket/757
|
2009-09-29 21:27:17 +03:00 |
Reijo Tomperi
|
fdde2182b9
|
Fix GPL comments in all files. ">." was missing from the end.
|
2009-09-27 18:08:31 +03:00 |
Daniel Marjamäki
|
c5368581d9
|
Fixed by #675 (false positive: when operator is overloaded)
|
2009-09-16 20:07:03 +02:00 |
Daniel Marjamäki
|
f4b6c822d3
|
Fixed #375 (new check: Detect when using 'this-x')
|
2009-09-12 15:25:02 +02:00 |
Reijo Tomperi
|
7408674017
|
Fix #601 (Poor var initialization assumption when can't find function definition)
http://sourceforge.net/apps/trac/cppcheck/ticket/601
Fix #641 ((style) Member variable not initialized in the constructor: False Positive)
http://sourceforge.net/apps/trac/cppcheck/ticket/641
This fix will also cause us not to detect several potential issues, but as there are so many
false positives, any unknown function call should stop the error for now. New
ticket is created to handle regression caused by this:
http://sourceforge.net/apps/trac/cppcheck/ticket/643
|
2009-09-03 23:28:00 +03:00 |
Reijo Tomperi
|
686ff425f9
|
Fix ticket #637 (False positive, Using 'memset' on struct that contains a 'std::string')
http://sourceforge.net/apps/trac/cppcheck/ticket/637
|
2009-09-02 23:51:07 +03:00 |
Reijo Tomperi
|
7569bda227
|
Added few memset test cases
|
2009-09-02 23:32:15 +03:00 |
Daniel Marjamäki
|
03d7573208
|
Borland C++: Don't warn about uninitialized variables that are declared in the __published section. These are auto-initialized
|
2009-08-31 19:40:49 +02:00 |
Reijo Tomperi
|
929dbe92e4
|
Fix the last test case from ticket #613 (array members variables are not checked in constructor)
http://sourceforge.net/apps/trac/cppcheck/ticket/613
|
2009-08-26 23:33:23 +03:00 |
Reijo Tomperi
|
d778f67265
|
Fix sytax error in uninitVarArray(). This also causes the test to fail, so changing it as TODO.
See http://sourceforge.net/apps/trac/cppcheck/ticket/613
|
2009-08-26 00:42:07 +03:00 |
Daniel Marjamäki
|
0c479b8c9f
|
TestClass: Added a testcase where a array member variable is initialized through strcpy
|
2009-08-24 17:15:29 +02:00 |
Reijo Tomperi
|
c581753040
|
Fix ticket #613 (array members variables are not checked in constructor)
http://sourceforge.net/apps/trac/cppcheck/ticket/613
Patch from micres
|
2009-08-23 22:54:41 +03:00 |
Reijo Tomperi
|
93604dd344
|
Fixed ticket #578 (missing virtual destructor not detected)
http://sourceforge.net/apps/trac/cppcheck/ticket/578
|
2009-08-10 17:58:13 +03:00 |