Daniel Marjamäki
|
e1b54df368
|
Fixed #1346 (False positive: Memory leak when allocated memory is stored elsewhere inside a condition)
|
2010-02-06 22:35:36 +01:00 |
Daniel Marjamäki
|
71117378ef
|
Fixed #1363 (false positive: memory leak)
|
2010-02-06 21:47:52 +01:00 |
Daniel Marjamäki
|
0a31e5e3ee
|
Fixed #1352 (false positive: uninitialized variable)
|
2010-02-06 16:51:32 +01:00 |
Robert Reif
|
b78845174d
|
Fixed #1355 (Fixed enum bug when expression contain comma)
|
2010-02-06 09:49:56 +01:00 |
Daniel Marjamäki
|
cbc853fdba
|
Partial fix for #322 (get configurations from headers that don't start at the beginning of the file)
|
2010-02-06 09:30:48 +01:00 |
Reijo Tomperi
|
fb81100bec
|
Minor fix to previous commit
|
2010-02-06 00:30:47 +02:00 |
Reijo Tomperi
|
35f778716a
|
Test case for #1356 (Double-False positive: uninitialized variable)
|
2010-02-06 00:24:57 +02:00 |
Reijo Tomperi
|
9852ab86e9
|
Fix #1358 (False negative: out-of-bounds not found near return)
http://sourceforge.net/apps/trac/cppcheck/ticket/1358
|
2010-02-05 23:55:10 +02:00 |
Daniel Marjamäki
|
0d18050b55
|
Fixed #984 (improve output if strncpy is followed by strncat)
|
2010-02-05 17:35:18 +01:00 |
Robert Reif
|
6cbfc5f894
|
Fixed #1351 (add expression support to simplifyEnum)
|
2010-02-05 07:37:17 +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
|
0ba665d77f
|
Fixed #1337 (Division by zero with __alignof__())
|
2010-02-03 21:23:44 +01:00 |
Daniel Marjamäki
|
d3b5889f88
|
Fixed #1345 (Not initialised variables warning missing in classes with dllexport)
|
2010-02-03 20:01:56 +01:00 |
Daniel Marjamäki
|
b01af012cd
|
Fixed #1342 (Superclass constructors in initializer lists are considered unused functions when superclass has a namespace.)
|
2010-02-03 18:37:48 +01:00 |
Robert Reif
|
f2eac901c0
|
Fixed #1343 (simplifyTypedef doesn't support deeply nested classes)
|
2010-02-03 07:58:36 +01:00 |
Daniel Marjamäki
|
4ec94116f5
|
Fixed #1341 (false positive 'uninitialized variable' when using Exception specifications)
|
2010-02-02 19:56:41 +01:00 |
Robert Reif
|
b704fc7bc7
|
Fixed #1339 (add nested struct support to simplifyEnum and simplifyTypedef)
|
2010-02-01 19:59:24 +01:00 |
Daniel Marjamäki
|
1b9afc82a4
|
Reverted 4f30468c80 . There was false positives such as #1335 so please fix them and then re-commit.
|
2010-02-01 19:46:51 +01:00 |
Kimmo Varis
|
6f47f77977
|
CMake - fix building tests for Visual Studio.
Need to include lib sources directly to test project also.
|
2010-02-01 20:16:30 +02:00 |
Robert Reif
|
64afcc8179
|
Fixed #1338 (simplify typedefs with global and nested namespace)
|
2010-01-31 21:46:18 +01:00 |
Reijo Tomperi
|
db2aff03c7
|
Added test case for #1333 (Detect access out of bounds 'for (i = 100; i > 0; --i) a[i] = 0;')
http://sourceforge.net/apps/trac/cppcheck/ticket/1333
|
2010-01-31 22:02:26 +02:00 |
Daniel Marjamäki
|
1375a60e3f
|
Fixed #1004 (improve check: Unintialized variable not detected when using a reference (&))
|
2010-01-31 16:29:12 +01:00 |
Monika Lukow
|
4f30468c80
|
Fixed #1094 (Improve check: unusual pointer arithmetic: 'ch+str')
|
2010-01-31 11:42:02 +01:00 |
Daniel Marjamäki
|
1a59e1bc68
|
Tokenizer: remove redundant assignments and variables
|
2010-01-31 09:52:19 +01:00 |
Daniel Marjamäki
|
e15a16eb15
|
Tokenizer: Remove redundant assignments and variables
|
2010-01-31 09:33:57 +01:00 |
Daniel Marjamäki
|
e1efad0c27
|
Tokenizer: remove the keyword 'inline'
|
2010-01-31 08:11:29 +01:00 |
Robert Reif
|
d17d199415
|
Tokenizer: fix for multiple array definitions for a single typedef
|
2010-01-31 07:16:19 +01:00 |
Robert Reif
|
7cbdb9f8a1
|
Fixed #1331 (simplify typedef of complex arrays)
|
2010-01-30 19:41:22 +01:00 |
Daniel Marjamäki
|
48f3921c36
|
Null pointer dereference: sending to output stream
|
2010-01-30 14:40:33 +01:00 |
Daniel Marjamäki
|
8716c771a4
|
Tokenizer: improved the simplifyInitVar
|
2010-01-30 14:25:11 +01:00 |
Daniel Marjamäki
|
3b08712930
|
Fixed #1005 (improve check: nullpointer dereference not found when it is initialized with NULL-cast)
|
2010-01-30 09:33:16 +01:00 |
Robert Reif
|
882e2225e0
|
Fixed 1329 (simplify typedef of function pointer returning template)
|
2010-01-30 08:00:11 +01:00 |
Daniel Marjamäki
|
f9d5fb3191
|
Fixed #1327 (False positive: Redundant code: Found a statement that begins with numeric constant)
|
2010-01-29 22:28:49 +01:00 |
Reijo Tomperi
|
1d5ba4e320
|
Improved updateClassList(), but not yet took it into use.
findClassFunction is now non-static.
updateClassList usage is currently commented out as it doesn't handle class inside a function
|
2010-01-29 23:22:18 +02:00 |
Daniel Marjamäki
|
f561441d90
|
Fixed #1319 (false negative: missing const not found)
|
2010-01-29 19:38:56 +01:00 |
Daniel Marjamäki
|
53f514fc5c
|
Tokenizer: Fixed const simplification
|
2010-01-29 19:34:43 +01:00 |
Robert Reif
|
c6263b51b5
|
Fixed #1324 (show number of tests that don't produce the desired results)
|
2010-01-29 18:49:07 +01:00 |
Robert Reif
|
94c5d92b2b
|
Fixed #1323 (segfault with style in CheckClass::operatorEqRetRefThis())
|
2010-01-29 16:04:27 +01:00 |
Robert Reif
|
fc54ed1eef
|
Fixed #1326 (remove simplified enum definitions)
|
2010-01-29 15:57:26 +01:00 |
Daniel Marjamäki
|
9d11492845
|
Fixed #1286 (Memory leak not detected)
|
2010-01-27 22:05:04 +01:00 |
Daniel Marjamäki
|
e49f7bfa0e
|
Fixed #1315 (mismatched allocation and deallocaton not detected)
|
2010-01-27 21:02:13 +01:00 |
Daniel Marjamäki
|
1c84dc814c
|
Auto variables: Improved handling of temporaries
|
2010-01-27 19:16:32 +01:00 |
Robert Reif
|
45b6b9e5a1
|
Fixed #1316 (### Internal error in Cppcheck. Please report it.)
|
2010-01-27 19:03:24 +01:00 |
Daniel Marjamäki
|
32fcb8fe18
|
Auto variables: returning pointer to temporary .c_str() data
|
2010-01-26 22:11:34 +01:00 |
Daniel Marjamäki
|
fa305d70bc
|
Fixed #1302 (False positive: Confusion between POSIX open() and class member)
|
2010-01-26 20:10:52 +01:00 |
Daniel Marjamäki
|
db0466eb19
|
Fixed #1278 (Confusing style message formatting)
|
2010-01-26 19:37:22 +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 |
Robert Reif
|
8be8c266ac
|
Fixed #1313 (unnamed enums not simplified properly)
|
2010-01-25 07:45:16 +01:00 |