Robert Reif
|
630d9ba552
|
Fixed #1326 (remove simplified enum definitions)
|
2010-01-31 07:13:09 +01:00 |
Robert Reif
|
7cbdb9f8a1
|
Fixed #1331 (simplify typedef of complex arrays)
|
2010-01-30 19:41:22 +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
|
53f514fc5c
|
Tokenizer: Fixed const simplification
|
2010-01-29 19:34:43 +01:00 |
Robert Reif
|
19bb2940cc
|
Fixed #1325 (Segmentation fault in simplifyTypedef due to bad preprocessing)
|
2010-01-29 16:00:48 +01:00 |
Robert Reif
|
fc54ed1eef
|
Fixed #1326 (remove simplified enum definitions)
|
2010-01-29 15:57:26 +01:00 |
Robert Reif
|
45b6b9e5a1
|
Fixed #1316 (### Internal error in Cppcheck. Please report it.)
|
2010-01-27 19:03:24 +01:00 |
Robert Reif
|
8be8c266ac
|
Fixed #1313 (unnamed enums not simplified properly)
|
2010-01-25 07:45:16 +01:00 |
Robert Reif
|
989e8393e4
|
Fixed #1307 (Internal error with typedef in parameter list)
|
2010-01-24 22:40:35 +01:00 |
Daniel Marjamäki
|
65881b9346
|
Fixed #1238 (False Negative : memory leak with template class)
|
2010-01-24 20:04:09 +01:00 |
Daniel Marjamäki
|
6d9740adea
|
Tokenizer: Fixed Tokenizer::simplifyKnownVariable bug when the variable is re-assigned in a loop
|
2010-01-24 19:27:39 +01:00 |
Reijo Tomperi
|
24052c16b4
|
Fix some style errors found from our own code.
|
2010-01-23 23:44:08 +02:00 |
Reijo Tomperi
|
7817d5b142
|
Fix #1279 (Change error message: Invalid number of character ({). Can't process file.)
http://sourceforge.net/apps/trac/cppcheck/ticket/1279
|
2010-01-23 23:18:11 +02:00 |
Daniel Marjamäki
|
8a9eba980b
|
Function pointers: re-enabled the simplifyFunctionPointers
|
2010-01-23 07:43:12 +01:00 |
Robert Reif
|
13ca2510cc
|
Fixed #1298 ((error) ### Internal error in Cppcheck. Please report it. (typedef in fun proto))
|
2010-01-22 20:26:07 +01:00 |
Daniel Marjamäki
|
1552c0f7f2
|
Fixed #1276 (False Uninitialized variable when using goto)
|
2010-01-22 20:20:43 +01:00 |
Robert Reif
|
9f853cb164
|
Fixed #1297 (typedef causes internal error in vlc/modules/access/imem.c)
|
2010-01-22 17:27:40 +01:00 |
Daniel Marjamäki
|
d4b13eee9f
|
Fixed #1290 (1.40: Internal error)
|
2010-01-21 20:05:32 +01:00 |
Robert Reif
|
9f0b9551cf
|
This patch simplifies the function pointer return type code and allows more complex return types.
|
2010-01-21 18:01:09 +01:00 |
Robert Reif
|
e9e64033e7
|
Improved typedef simplification of function pointers
|
2010-01-21 07:51:08 +01:00 |
Daniel Marjamäki
|
3447030564
|
Merge branch 'master' of git@github.com:danmar/cppcheck
|
2010-01-20 21:19:32 +01:00 |
Daniel Marjamäki
|
96359b14ff
|
Simplify function pointers
|
2010-01-20 21:19:06 +01:00 |
Robert Reif
|
e163f878ab
|
Handle/simplify function pointer typedefs
|
2010-01-20 21:16:40 +01:00 |
Reijo Tomperi
|
b83d257852
|
Fix #1296 (false positive: index out of bounds)
http://sourceforge.net/apps/trac/cppcheck/ticket/1296
|
2010-01-20 21:26:54 +02:00 |
Robert Reif
|
cd31cd9298
|
Fixed #1251 (tokenize typedef of reference)
|
2010-01-18 19:06:50 +01:00 |
Robert Reif
|
70dbb8ba17
|
Fixed #1275 (Cppcheck hangs when analysing the code 'typedef struct { } A, *B, **C;')
|
2010-01-17 08:16:17 +01:00 |
Daniel Marjamäki
|
fbefb8df34
|
Fixed #1272 (links in typedef not handled correctly)
|
2010-01-16 19:42:37 +01:00 |
Daniel Marjamäki
|
0a8ca1f160
|
Fixed #1271 (SIGSEGV on malformed source (macro stub + fundef))
|
2010-01-16 13:56:57 +01:00 |
Robert Reif
|
a0caea4ee6
|
Refactoring the handling of typedefs
|
2010-01-16 09:18:21 +01:00 |
Reijo Tomperi
|
d37864f8c4
|
Fix part of #1262 (cppcheck false positives: 'Possible null pointer dereference'
http://sourceforge.net/apps/trac/cppcheck/ticket/1262
|
2010-01-15 23:46:47 +02:00 |
Robert Reif
|
0212225859
|
Tokenizer: fixed typedef issues
|
2010-01-13 07:59:47 +01:00 |
Daniel Marjamäki
|
2358c51694
|
Tokenizer: some cleanup of std::
|
2010-01-12 21:25:31 +01:00 |
Robert Reif
|
5e8e4fd3e9
|
Fixed #1252 (Internal error in Cppcheck while parsing struct)
|
2010-01-12 17:38:36 +01:00 |
Robert Reif
|
7b6bf80057
|
Fixed #1250 (tokenize typedef of union)
|
2010-01-11 22:58:57 +01:00 |
Daniel Marjamäki
|
c666a9662b
|
BufferOverrun: negative index is out of bounds
|
2010-01-11 21:18:07 +01:00 |
Robert Reif
|
94d5e32aa1
|
Fixed #1248 (tokenize typedef of array)
|
2010-01-11 17:09:04 +01:00 |
Robert Reif
|
19ba151531
|
Fixed #1244 (tokenize typedef of unnamed struct)
|
2010-01-10 08:49:02 +01:00 |
Daniel Marjamäki
|
6ec5b797ab
|
Borland C++: Fixed compiler error
|
2010-01-09 10:24:35 +01:00 |
Robert Reif
|
b30b07beee
|
Fixed #1232 (segmentation fault of cppcheck when scanning templates)
|
2010-01-07 18:09:35 +01:00 |
Daniel Marjamäki
|
b366dba682
|
After suggestion from Jim Vollner, remove dead pointers from the used list
|
2010-01-06 21:29:39 +01:00 |
Daniel Marjamäki
|
94b0cbbcff
|
uncomment validation of Tokenizer::_tokensBack
|
2010-01-06 21:18:42 +01:00 |
Daniel Marjamäki
|
57d1da3910
|
Ticket #1228 : Handle tokensBack in the Token class. When adding&removing tokens the Token class can make sure that this pointer is updated accordingly. It is very important that the tokensBack has the same scope as the token list, otherwise there will be a dead pointer problem.
|
2010-01-06 20:19:27 +01:00 |
Reijo Tomperi
|
ff0573998a
|
Added more validating code to tokenizer. Currently commented out.
|
2010-01-06 01:32:05 +02:00 |
Robert Reif
|
13f627d0d5
|
Fixed #1215 (are enums processed properly?)
|
2010-01-04 17:22:06 +01:00 |
Robert Reif
|
bcafb30d0d
|
Fixed #1211 (add struct support for constructor checks)
|
2010-01-02 17:29:55 +01:00 |
Daniel Marjamäki
|
6af5e434d8
|
Fixed #1204 (Tokenizer::findClassFunction broken)
|
2010-01-02 08:33:54 +01:00 |