Daniel Marjamäki
|
80edb4d8f4
|
Tokenizer: Simplify 'false ==' to '!'
|
2010-03-24 19:55:02 +01:00 |
Robert Reif
|
e95bc41e59
|
Fixed #1522 (false positive: function can be const (assignment in return))
|
2010-03-24 19:31:30 +01:00 |
Daniel Marjamäki
|
bef1857221
|
Preprocessor: Added TODO testcase when using variadic macros
|
2010-03-24 19:24:53 +01:00 |
Robert Reif
|
9808a59cc1
|
Fixed #1515 (false positive: The function 'wxThreadInternal::SetExitCode' can be const)
|
2010-03-23 07:37:20 +01:00 |
Robert Reif
|
637a34bfd2
|
Fixed #1517 (false negative: the function can be declared as const)
|
2010-03-23 07:34:34 +01:00 |
Daniel Marjamäki
|
5b1b845750
|
Fixed #1504 (False positive: Cppcheck incorrectly reports that extern variable is not initialized)
|
2010-03-20 08:03:18 +01:00 |
Daniel Marjamäki
|
f687e85be5
|
Fixed #1498 (false positive: The function 'V<unsigned>::vSet' can be const)
|
2010-03-19 19:34:26 +01:00 |
Robert Reif
|
0fb680d887
|
Tokenizer: remove unnamed anonymous structures and unions (#1493)
|
2010-03-19 19:04:56 +01:00 |
Robert Reif
|
92fe14e7f0
|
Fixed #1491 (False positive when putting an access specifier at the end of a class declaration)
|
2010-03-19 17:40:23 +01:00 |
Daniel Marjamäki
|
54c5d53eac
|
Fixed #1428 (False positive: (possible error) Memory leak when memory deleted in destructor)
|
2010-03-19 16:57:23 +01:00 |
Robert Reif
|
9c2248254e
|
Here is a patch that adds support for derived structs and fixes a bug that missed some nested structs. (#1493)
|
2010-03-19 16:17:25 +01:00 |
Raphael Geissert
|
d11004fa3d
|
Fixed #1512 (incorrect handling of ndefs in the preprocessor)
|
2010-03-19 16:13:45 +01:00 |
Robert Reif
|
5ea7e32bf9
|
Partial fix for #1493 (false positives: function can be const and struct or union member is never used)
|
2010-03-18 18:14:52 +01:00 |
Daniel Marjamäki
|
89719b023e
|
unit testing: made Tokenizer functions public so they can be unit tested
|
2010-03-17 22:08:02 +01:00 |
Daniel Marjamäki
|
2441a79c7b
|
unit testing: use const_cast instead of defines
|
2010-03-17 21:58:53 +01:00 |
Robert Reif
|
b3856cbc5e
|
Fixed #1506 (typedef name hiding check combined with forward declaration leeds to false positive)
|
2010-03-17 17:31:08 +01:00 |
Daniel Marjamäki
|
12c45a1aba
|
Fixed #1476 (false positive: Uninitialized variable)
|
2010-03-16 19:53:09 +01:00 |
Daniel Marjamäki
|
235404077f
|
Fixed #1501 (false positive: Variable 'n' is assigned a value that is never used)
|
2010-03-16 19:25:10 +01:00 |
Daniel Marjamäki
|
15d67a2369
|
Fixed #1503 (False positive for uninitialized variable)
|
2010-03-16 19:09:37 +01:00 |
Robert Reif
|
89c57c72c5
|
small const fix
|
2010-03-16 07:31:40 +01:00 |
Daniel Marjamäki
|
382e41d92a
|
Fixed #1494 (Improve Tokenizer::simplifyKnownVariables to handle for loops better)
|
2010-03-14 09:57:34 +01:00 |
Daniel Marjamäki
|
9fe9be1ea9
|
Fixed #1465 (false positive: unintialized class member)
|
2010-03-13 20:24:39 +01:00 |
Daniel Marjamäki
|
65ae37de2f
|
Fixed #1460 (false positive: memory leak when using throw no_memory)
|
2010-03-13 17:11:48 +01:00 |
Daniel Marjamäki
|
772aa95c8a
|
Fixed #1477 (false positive: Uninitialized variable when pointer given to struct)
|
2010-03-13 11:52:48 +01:00 |
Robert Reif
|
846a3a0186
|
Fixed #1491 (False positive when putting an access specifier at the end of a class declaration)
|
2010-03-13 08:06:20 +01:00 |
Robert Reif
|
f552ca5462
|
Fixed #1482 (Improve check const-function: function can be made const when assignment not to member variable (false negative))
|
2010-03-12 18:30:20 +01:00 |
Kimmo Varis
|
95cbb60974
|
Fix compiling tests.
|
2010-03-12 17:21:41 +02:00 |
Daniel Marjamäki
|
587081cab5
|
Fixed #1488 (Invalid warning about shadowed variable)
|
2010-03-10 16:47:39 +01:00 |
Robert Reif
|
09ab841789
|
Fixed #1486 (--errorlist shows two identical id values)
|
2010-03-10 07:47:01 +01:00 |
Daniel Marjamäki
|
dbc235bd39
|
Function constness: I don't think it's necessary to show both definition and implementation location. I changed so only the location of the definition is shown. This fixes #1486.
|
2010-03-09 07:29:03 +01:00 |
Daniel Marjamäki
|
770d2ff835
|
Simplify enum: Fixed segmentation fault if code ends with enum type id
|
2010-03-07 13:01:56 +01:00 |
Daniel Marjamäki
|
fa493b7fd1
|
Fixed #1474 (segmentation fault of cppcheck)
|
2010-03-07 12:50:45 +01:00 |
Daniel Marjamäki
|
7f42ed3ad0
|
Fixed #1472 (false positive: Data is allocated but not initialized: service)
|
2010-03-07 09:08:52 +01:00 |
Reijo Tomperi
|
b88126a669
|
Fix #1469 (False positive: Resource leak when fclose() is inside while)
http://sourceforge.net/apps/trac/cppcheck/ticket/1469
|
2010-03-06 16:28:52 +02:00 |
Daniel Marjamäki
|
fe30c1ca9d
|
Fixed #1432 (false positive: uninitialized variable)
|
2010-03-06 13:48:43 +01:00 |
Reijo Tomperi
|
237fdbc653
|
Fix #1454 (False positive: arrayindexoutofbounds, static member sharing local name)
http://sourceforge.net/apps/trac/cppcheck/ticket/1454
|
2010-03-06 14:35:04 +02:00 |
Robert Reif
|
7c283d1321
|
Fixed #1321 (Improve check const-function: function that is not implemented inline can be made const)
|
2010-03-05 17:06:25 +01:00 |
Daniel Marjamäki
|
4bb5272760
|
Fixed #1466 (false positive: Invalid number of character ({) when these macros are defined: '')
|
2010-03-04 18:51:25 +01:00 |
Reijo Tomperi
|
d881fd7a31
|
Partial fix #1464 (takes too long (days) to process some files)
Fix template functions that return "&T".
http://sourceforge.net/apps/trac/cppcheck/ticket/1464
|
2010-03-03 23:02:32 +02:00 |
Daniel Marjamäki
|
e207da18a2
|
STL: don't warn about the suspicious string::find condition because it's not always a bug
|
2010-03-03 17:11:31 +01:00 |
Daniel Marjamäki
|
6ca4b008d0
|
null pointer: Fixed better error message for 'possible null pointer' + removed redundant check in our Tokenizer.
|
2010-02-28 07:26:50 +01:00 |
Daniel Marjamäki
|
4407aabe55
|
STL: suspicious condition when using std::find
|
2010-02-28 07:04:58 +01:00 |
Reijo Tomperi
|
88840e6a08
|
Fix #1453 (possible infinite loop processing GNU Go's engine/montecarlo.c)
http://sourceforge.net/apps/trac/cppcheck/ticket/1453
|
2010-02-27 23:47:56 +02:00 |
Daniel Marjamäki
|
69d6453ea8
|
STL: suspicious conditions when using find. Added ok testcases and assert that no error message is written
|
2010-02-27 21:35:33 +01:00 |
Daniel Marjamäki
|
4de700c9de
|
STL: suspicious condition when using find on strings and containers
|
2010-02-27 21:26:11 +01:00 |
Daniel Marjamäki
|
50210857a6
|
Fixed #1439 (false positive: memory leak when using realloc)
|
2010-02-27 19:41:14 +01:00 |
Kimmo Varis
|
839a81a865
|
Move build products to Build and BuildTmp folders.
This avoids polluting source folders with created/temp files. Also makes it
easier for installer to pick files from consistently named folders.
|
2010-02-27 21:15:00 +08:00 |
Kimmo Varis
|
ae58f54230
|
Projfiles: Fix preprocessor definitions.
|
2010-02-27 21:15:00 +08:00 |
Kimmo Varis
|
7bab8c3c03
|
Projfiles: fix test project include paths.
|
2010-02-27 21:15:00 +08:00 |
Kimmo Varis
|
6b07097cf4
|
Projfiles: Use $IntDir and $OutDir as paths where applicable.
Try to also keep outdir clean of unnecessary files and direct most of build-
time files to intdir.
|
2010-02-27 21:15:00 +08:00 |