Daniel Marjamäki
|
a0d8f44603
|
CheckClass: The operator< etc member functions can often be const
|
2010-01-23 22:36:04 +01: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
|
4d7ac2f82e
|
STL: fixed false positive when using erase
|
2010-01-23 22:03:38 +01:00 |
Daniel Marjamäki
|
43c8fe895c
|
Fixed #1301 (False positive: Data is allocated but not initialized)
|
2010-01-23 21:25:17 +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
|
f62466493b
|
New Check: Detect return of invalid reference
|
2010-01-23 20:39:12 +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
|
037ecffc34
|
detect when function pointer that is null is used
|
2010-01-23 09:15:30 +01:00 |
Daniel Marjamäki
|
7b986c831d
|
Report when using uninitialized function pointer
|
2010-01-23 07:57:57 +01: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 |
Daniel Marjamäki
|
e9c8e1d8b1
|
doxygen and minor refactorings
|
2010-01-22 19:29:24 +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 |
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 |
Daniel Marjamäki
|
2e707974d0
|
Fixed #1273 (scope of variable limited not detected in latest versions)
|
2010-01-21 18:50:56 +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
|
a6e81c2ee7
|
Fixed #1293 (Things to add to call_func_white_list)
|
2010-01-20 22:03:06 +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 |
Daniel Marjamäki
|
85fcd4c9a9
|
Fixed #1282 (False positive for a memory leak in a simple loop)
|
2010-01-19 19:08:03 +01:00 |
Daniel Marjamäki
|
f49cc7f0ff
|
CheckMemoryLeak: Added 'scanf' and 'sscanf' to the whitelist
|
2010-01-18 21:58:27 +01:00 |
Daniel Marjamäki
|
32604dd55e
|
Fixed #1266 ('qsort' missing in call_func_white_list)
|
2010-01-18 21:34:11 +01:00 |
Daniel Marjamäki
|
53d036fadf
|
Added Cppcheck::terminate function that will terminate the checking ASAP
|
2010-01-18 20:23:50 +01:00 |
Robert Reif
|
cd31cd9298
|
Fixed #1251 (tokenize typedef of reference)
|
2010-01-18 19:06:50 +01:00 |
Daniel Marjamäki
|
fbf428550a
|
Fixed #1262 (cppcheck false positives: 'Possible null pointer dereference', 'Uninitialized variable')
|
2010-01-17 19:08:45 +01:00 |
Daniel Marjamäki
|
f3e25a5244
|
Fixed doxygen error messages
|
2010-01-17 16:38:28 +01:00 |
Daniel Marjamäki
|
25bf50755e
|
Reformatting the --doc output to work better in the wiki
|
2010-01-17 14:56:56 +01:00 |
Daniel Marjamäki
|
5595a17e41
|
Updated version to 1.40
|
2010-01-17 13:52:28 +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 |
Daniel Marjamäki
|
81ca6e9f98
|
Revert "minor tweak in Borland C++ project file"
This reverts commit ad06ee4f71 .
|
2010-01-16 08:47:46 +01:00 |
Daniel Marjamäki
|
ad06ee4f71
|
minor tweak in Borland C++ project file
|
2010-01-16 08:17:40 +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 |
Daniel Marjamäki
|
f591d8f8e1
|
refactoring
|
2010-01-14 22:04:58 +01:00 |
Daniel Marjamäki
|
7059dd5693
|
astyle formatting
|
2010-01-14 22:01:59 +01:00 |
Daniel Marjamäki
|
b9f09679c7
|
lanurmi: Fixed #1269 (Changes required for compiling with Sun's compiler)
|
2010-01-14 22:00:14 +01:00 |
Daniel Marjamäki
|
ac077d3160
|
Fixed #1264 (False positive: Resource leak with if-else in while)
|
2010-01-14 21:41:50 +01:00 |
Daniel Marjamäki
|
a7bddc8fd3
|
Fixed #1268 (Null pointer dereference false positive)
|
2010-01-14 20:02:38 +01:00 |
Daniel Marjamäki
|
bc5800004b
|
wrote comments about the preprocessor
|
2010-01-13 21:50:44 +01:00 |
Daniel Marjamäki
|
cefa695dba
|
Fixed #1265 ((error) Uninitialized variable on macro expansion)
|
2010-01-13 19:37:55 +01:00 |