Commit Graph

5368 Commits

Author SHA1 Message Date
Daniel Marjamäki a596a7a8fe Fixed #2494 (New check: clarify calculation when using ?: operator) 2011-01-24 21:40:49 +01:00
Sébastien Debrard 3445e77126 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-24 20:31:53 +01:00
Sébastien Debrard c7b8bd543f fix ticket 155 - char array 2011-01-24 19:04:56 +01:00
Daniel Marjamäki f611c9aec7 cleanup old ifdefs in cmdlineparser 2011-01-24 18:15:56 +01:00
Sébastien Debrard 15e81e60a4 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-23 23:09:41 +01:00
Sébastien Debrard 5b5e8ca518 .. 2011-01-23 23:09:31 +01:00
Robert Reif f5b26222ff Symbol database: better handling of functions returning function pointer. ticket: #2468 2011-01-23 22:31:35 +01:00
Sébastien Debrard daef8ef5fd Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-23 16:32:41 +01:00
Sébastien Debrard 86ba9dc908 sizeof 2011-01-23 16:32:33 +01:00
Daniel Marjamäki c04107131b when using TODO_ASSERT_EQUALS it's a good idea to pair it with a ASSERT_EQUALS 2011-01-23 14:34:26 +01:00
Daniel Marjamäki 586cbd5839 Tokenizer: Upon createLinks error, report error and bailout 2011-01-23 09:38:38 +01:00
Daniel Marjamäki b10f0aabd6 Fixed #2376 (simplifyTypedef: upx-ucl) 2011-01-23 09:04:34 +01:00
Robert Reif 2a3cce5001 Symbol database: fixed corruptions. ticket: #2468 2011-01-23 08:41:31 +01:00
Daniel Marjamäki 86e6822264 Fixed #2493 (false positive: (error) Possible null pointer dereference: pExpr) 2011-01-23 08:38:09 +01:00
Sébastien Debrard 74bc421f4c Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-23 03:37:47 +01:00
Sébastien Debrard b5cd37e822 ticket 155 2011-01-23 03:37:38 +01:00
Daniel Marjamäki 9d3b242cd8 Fixed #1952 (false negative: buffer acces out of bounds with memcpy) 2011-01-22 21:31:26 +01:00
Debrard Sébastien 27dce075e0 Fixed #155 (check size of a variable whose type is a sized array) 2011-01-22 19:21:56 +01:00
Sébastien Debrard 8f4ea30792 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 18:54:07 +01:00
Sébastien Debrard 2ed7d536a5 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 17:47:17 +01:00
Robert Reif 8abae6f1e5 Symbol database: match copy-constructor better. ticket: #2484 2011-01-22 17:43:36 +01:00
Daniel Marjamäki 1e25d74ba4 Class: better check if there are friends. ticket: #2459 2011-01-22 17:35:54 +01:00
Sébastien Debrard bc0524dec3 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 14:06:13 +01:00
Sébastien Debrard 000e03c85d is booelan 2011-01-22 14:06:02 +01:00
Daniel Marjamäki f947955c63 Fixed #2492 (False positive: memory leak 'return &self->foo;') 2011-01-22 13:40:19 +01:00
Daniel Marjamäki 9551332321 Fixed #2459 (False positive with unused private function and friend) 2011-01-22 13:00:03 +01:00
Daniel Marjamäki 5c88129f01 Fixed #2484 (false positive because template is not instantiated properly) 2011-01-22 12:42:53 +01:00
Sébastien Debrard 8d97080ab8 ticket 155 2011-01-22 10:51:00 +01:00
Sébastien Debrard 53c36f53ef Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 10:49:26 +01:00
Daniel Marjamäki bc31f317bc Fixed #2491 (Tokenizer::setVarId : wrong handling of function call: 'a(b * c, 1);') 2011-01-22 09:27:16 +01:00
Robert Reif 0746c2410a Symbol database: Fixed memory leak. ticket: #2468 2011-01-22 08:36:47 +01:00
Robert Reif 69eee86ee4 Tokenizer: Only create 1 symbol database. ticket: #2468 2011-01-22 08:34:24 +01:00
Sébastien Debrard 1eccc2937c Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 02:41:42 +01:00
Ettl Martin a83aced2ec fixed uninitialized members in tests 2011-01-21 23:48:42 +01:00
Daniel Marjamäki 07e097561c dmake and Makefile updates 2011-01-21 20:51:01 +01:00
Sébastien Debrard 5842a6a403 ticket 155 2011-01-21 20:16:37 +01:00
Robert Reif 767e01e24a Fixed #2478 (Crash when trying to analyze files (CheckClass::checkReturnPtrThis)) 2011-01-21 19:54:41 +01:00
Sébastien Debrard 211074270c Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-21 19:51:12 +01:00
Sébastien Debrard bcfc751056 ticket #155 2011-01-21 19:50:59 +01:00
Daniel Marjamäki 8cec4e6de6 Makefile: updated with dmake 2011-01-21 07:43:04 +01:00
Robert Reif d73709a620 Symbol database: rename variables. ticket: #2468 2011-01-21 07:42:41 +01:00
Daniel Marjamäki 87e3e9e703 Fixed #2488 (false positive with updating iterator in a for loop) 2011-01-20 20:48:35 +01:00
Daniel Marjamäki 10d2909c7c CLI: updated help text for --inline-suppr. Thanks rubicon_hdr for the suggestion 2011-01-20 20:29:06 +01:00
Daniel Marjamäki a21f8eec7c Fixed #2481 (false positive with break: After insert, the iterator '*' may be invalid) 2011-01-20 19:26:52 +01:00
Robert Reif 9dce0dd75c Symbol database: refactoring of classAndStructTypes parsing. ticket: #2468 2011-01-20 18:02:52 +01:00
Daniel Marjamäki 70eadb37bd Fixed #2481 (false positive with 'break;': After insert, the iterator '*' may be invalid) 2011-01-19 21:00:46 +01:00
Daniel Marjamäki b1b8ea6457 added unit test for #2482 2011-01-19 20:41:46 +01:00
Daniel Marjamäki ecac93ebed Fixed #2462 (false positive: (warning) Redundant code: Found a statement that begins with numeric constant) 2011-01-19 18:37:33 +01:00
Pete Johns 94aafa482c Fixed #2480 (false positive on unused private function) 2011-01-19 20:32:08 +11:00
Daniel Marjamäki 856a631f35 Fixed #2483 (SymbolDatabase compiler warning (VS2008/VS2010)) 2011-01-19 07:33:38 +01:00