Daniel Marjamäki
|
38c3de7343
|
Preprocessor: Refactoring. Broke out code that parses out the parameters from code.
|
2010-06-19 09:09:47 +02:00 |
Daniel Marjamäki
|
dcdbe117e6
|
Borland C++: Fixed compiler errors. When using 'a?b:c', Borland requires that b and c are the same type
|
2010-06-19 08:52:14 +02:00 |
Daniel Marjamäki
|
9cccdf0f9f
|
Borland C++: Updated project files
|
2010-06-19 08:47:33 +02:00 |
Robert Reif
|
81403479bd
|
Refactoring testunusedvariables. This fixes #1804.
|
2010-06-18 07:19:26 +02:00 |
Robert Reif
|
ec61c6fa26
|
Fixed #1801 (simplifyTypedef: duplicate typedefs not handled properly)
|
2010-06-18 07:16:05 +02:00 |
Reijo Tomperi
|
0c61454b3f
|
Added test case deadlock_with_many_errors() for ticket #1650
http://sourceforge.net/apps/trac/cppcheck/ticket/1650
The test case is currently commented out, because it would cause tests to hang also.
|
2010-06-18 00:42:01 +03:00 |
firewave
|
d6d4b99b85
|
Removed obsolete checkheaders from Visual Studio projects
|
2010-06-17 15:00:58 +02:00 |
Robert Reif
|
f116e74f6e
|
Fixed #1801 (Segmentation fault while scanning Qt's qcups.cpp)
|
2010-06-17 06:59:01 +02:00 |
Leandro Lisboa Penz
|
ad4681223b
|
Ticket #1789 is not really fixed; added TODO.
|
2010-06-16 22:47:05 -03:00 |
Leandro Lisboa Penz
|
350810e3c1
|
Improved test of pointer argument realloc.
|
2010-06-16 22:46:47 -03:00 |
Leandro Lisboa Penz
|
58a872e6a0
|
Fixed #1789 (false positive: memory leak (reallocation in subfunction through parameter))
Detecting reallocations in the other function.
|
2010-06-16 22:29:55 -03:00 |
Daniel Marjamäki
|
8a6f4254e0
|
Fixed #853 (False positive: memory leak for member variable with unknown function)
|
2010-06-16 19:28:47 +02:00 |
Robert Reif
|
ee7ad272d6
|
variable usage: fix false positives when __attribute__ is used. Ticket: #1792
|
2010-06-16 18:04:31 +02:00 |
Robert Reif
|
7dba21858a
|
simplify the alias handling in the checking of variable usage. Ticket: #1729
|
2010-06-16 18:00:21 +02:00 |
Robert Reif
|
61e7e759f0
|
Fixed #1798 (structure templates)
|
2010-06-16 07:13:52 +02:00 |
Zachary Blair
|
ae2a02ad93
|
Applied review suggestions for Ticket #920
|
2010-06-15 22:03:38 -07:00 |
Daniel Marjamäki
|
dc12a9b3b5
|
Fixed #1545 (new check: usage of iterator pointing to invalid memory after reserve)
|
2010-06-15 19:53:09 +02:00 |
Daniel Marjamäki
|
a42273da63
|
Fixed #887 (Tokenizer: Simplify variable value after loop)
|
2010-06-15 17:56:14 +02:00 |
Daniel Marjamäki
|
5c00c1a539
|
removed the deprecated checkheaders
|
2010-06-15 16:56:04 +02:00 |
Zachary Blair
|
efefceabae
|
Fixed #920 (new style check: find empty catch blocks)
|
2010-06-14 23:45:46 -07:00 |
Reijo Tomperi
|
c27e631aa2
|
Add testthreadexecutor.cpp
|
2010-06-14 23:18:09 +03:00 |
Robert Reif
|
98ae660260
|
Fixed #1792 (false positive: Variable 'test' is assigned a value that is never used)
|
2010-06-14 15:46:57 +02:00 |
Daniel Marjamäki
|
cb7e9fbec1
|
Fixed #1776 (False Negative: Unitialized array)
|
2010-06-14 08:36:34 +02:00 |
Daniel Marjamäki
|
b5d0955d11
|
doxygen: fixed error messages given by doxygen
|
2010-06-14 07:54:41 +02:00 |
Daniel Marjamäki
|
e987d2e05b
|
Memory leaks: more specific bailouts to reduce false negatives
|
2010-06-13 19:00:11 +02:00 |
Daniel Marjamäki
|
37ade20dad
|
Added testcase for #1557 (false positive: memory leak)
|
2010-06-13 10:43:23 +02:00 |
Daniel Marjamäki
|
5de124280a
|
Fixed #1783 (false positive: uninitalized variable in constructor/operator=, when calling overloaded functions)
|
2010-06-13 10:23:59 +02:00 |
Daniel Marjamäki
|
70bfa890a8
|
Fixed #1718 (Tokenizer add close braces to for loop at wrong place when if-else presents inside)
|
2010-06-13 08:00:46 +02:00 |
Robert Reif
|
18bb7488b9
|
Fixed #1787 (false negative: out of bounds in derived class)
|
2010-06-13 07:17:50 +02:00 |
Daniel Marjamäki
|
76221c0916
|
Fixed #1510 (false positive '(possible error) Memory leak' when 'a = b = new ...; delete a' (but not b))
|
2010-06-12 13:37:44 +02:00 |
Daniel Marjamäki
|
3a4a151cc4
|
reverted 'added a todo testcase for ticket #1788'
|
2010-06-12 08:36:10 +02:00 |
Daniel Marjamäki
|
f3fbdc96e1
|
Fixed #1788 (Tokenizer: template destructor is lost)
|
2010-06-12 08:32:05 +02:00 |
Martin Ettl
|
69ecc24bf5
|
added a few testcases for checking memory leaks in classes
|
2010-06-11 13:33:10 +02:00 |
Martin Ettl
|
81828742ac
|
added a todo testcase for ticket #1788
|
2010-06-11 13:23:10 +02:00 |
Martin Ettl
|
be9c23cb1a
|
added todo-testcase for ticket #1401
|
2010-06-10 22:49:34 +02:00 |
Robert Reif
|
3d2c28a524
|
Fixed #1784 (false positive: Variable is not assigned a value)
|
2010-06-10 07:21:47 +02:00 |
Robert Reif
|
6b65b77acf
|
Fixed #1782 ((error) ### Internal error in Cppcheck. Please report it.)
|
2010-06-10 07:18:55 +02:00 |
Daniel Marjamäki
|
e64ce2e812
|
Fixed #1781 (false positive: uninitialized variable when using asm statement in macro)
|
2010-06-09 21:28:15 +02:00 |
Martin Ettl
|
c9cd5ea250
|
added a todo testcase for ticket 1778
|
2010-06-09 01:21:52 +02:00 |
Robert Reif
|
00dcec47ac
|
Variable usage: read variable when using syntax '..=*(p);'
|
2010-06-08 18:26:14 +02:00 |
Martin Ettl
|
cf61d2179f
|
added Martin Ettl to authors list
|
2010-06-07 12:23:29 +02:00 |
Robert Reif
|
f37a7ba934
|
Variable usage: Added TODO testcases for handling pointer alias. Ticket: #1729
|
2010-06-06 20:37:48 +02:00 |
Martin Ettl
|
0d34416bce
|
added TODO_TESTCASE for ticket 1734: Array index out of bounds
|
2010-06-06 16:20:50 +02:00 |
Martin Ettl
|
2b557cee45
|
added a TODO testcase for ticket 1724
|
2010-06-06 12:46:08 +02:00 |
Daniel Marjamäki
|
472bd9dabe
|
Fixed #1726 (False negative: null pointer dereference in switch block)
|
2010-06-06 12:15:31 +02:00 |
Daniel Marjamäki
|
e140ff6e84
|
Memory leaks: skipping function call inside allocation
|
2010-06-06 11:22:59 +02:00 |
Daniel Marjamäki
|
a9196e8710
|
Memory leaks: Added allocation function 'g_strdup_printf'
|
2010-06-06 11:09:19 +02:00 |
Daniel Marjamäki
|
68ad8219ed
|
Fixed #1722 (Member variable initialized in call to base class constructor)
|
2010-06-06 08:29:35 +02:00 |
Martin Ettl
|
f75ca79849
|
applied patch from php-coder from ticket 1724; removed TODO_TESTCASES;
|
2010-06-05 19:49:49 +02:00 |
Daniel Marjamäki
|
75bac44ed8
|
man: updated the cppcheck.1.xml file.
|
2010-06-05 12:13:42 +02:00 |