Daniel Marjamäki
|
cfe694330f
|
Fixed #2024 (Internal Error on multiple append calls on same string object)
|
2010-09-06 21:34:51 +02:00 |
Robert Reif
|
fbffaade2e
|
Fixed #2011 (Parser error in template function)
|
2010-09-02 19:09:06 +02:00 |
Daniel Marjamäki
|
7ec3c72a19
|
Fixed #1997 (operator new [] simplified wrong)
|
2010-08-30 21:06:22 +02:00 |
Robert Reif
|
0d530711f6
|
Fixed #1988 (segmentation fault of cppcheck with wrong syntax of -std=c++0x)
|
2010-08-30 07:25:17 +02:00 |
Daniel Marjamäki
|
d45186d645
|
Added --debug-warnings that we can use to enable various debug warnings
|
2010-08-27 20:28:00 +02:00 |
Robert Reif
|
499a12c896
|
Tokenizer::simplifyTypedef: Report about unhandled typedefs. Ticket: #1821
|
2010-08-26 20:44:13 +02:00 |
Daniel Marjamäki
|
ca9cdf5bf5
|
Tokenizer: If syntax errors are found then don't return a token list. Ticket: #1961
|
2010-08-25 22:10:21 +02:00 |
Robert Reif
|
4a6070d2af
|
fix 2 problems related to ticket 1976:
1. nested unnamed anonymous structures and unions were not supported.
2. declaration split up in class had bug if proceeded by access specifier.
|
2010-08-25 20:17:31 +02:00 |
Robert Reif
|
d961a6ec9e
|
Tokenizer: Fixed cppcheck and compiler warnings
|
2010-08-24 07:28:56 +02:00 |
Robert Reif
|
7173e01926
|
Fixed #1965 (tokenizer::simplifyEnum add support for C++0x enums)
|
2010-08-21 07:44:56 +02:00 |
Robert Reif
|
f123e951ec
|
Fixed #1963 (typedef array incorrectly simplified)
|
2010-08-20 07:11:02 +02:00 |
Daniel Marjamäki
|
cfa7b4906e
|
Symbol database: bug fixes. Ticket: #1895
|
2010-08-18 22:42:04 +02:00 |
Daniel Marjamäki
|
2e2baa23a6
|
Fixed #1909 (### Internal error in Cppcheck. Please report it)
|
2010-07-28 21:03:15 +02:00 |
Daniel Marjamäki
|
7c5219324e
|
Refactoring: Cleanup include that checkheaders reported as not needed
|
2010-07-26 22:05:51 +02:00 |
Daniel Marjamäki
|
e1612bc175
|
Fixed #1891 (Internal error when enum assigned to sizeof without brackets)
|
2010-07-22 22:21:12 +02:00 |
Robert Reif
|
c572e6af87
|
Fixed #1846 (False positive with -s: Variable hides typedef with same name)
|
2010-07-13 08:08:12 +02:00 |
Robert Reif
|
b0f1d5669b
|
Fixed #1829 (### Internal error in Cppcheck. Please report it.)
|
2010-07-07 07:40:11 +02:00 |
Robert Reif
|
1799e4a575
|
Fixed #1827 (### Internal error in Cppcheck. Please report it.)
|
2010-07-06 08:26:30 +02:00 |
Robert Reif
|
c949a29d1e
|
Fixed #1821 (simplifyTypedef: better typedef support)
|
2010-07-05 23:03:54 +02:00 |
Robert Reif
|
28c265b20c
|
Fixed #1821 (simplifyTypedef: better typedef support)
|
2010-07-02 15:22:29 +02:00 |
Robert Reif
|
b33fb48618
|
Fixed #1816 (Tokenizer: remove restrict keyword)
|
2010-06-30 08:10:39 +02:00 |
Daniel Marjamäki
|
46e2f1e64b
|
--author=Robert Reif <reif@earthlink.net>
Fixed #1814 (false positive: Variable hides typedef with same name)
|
2010-06-28 15:33:27 +02:00 |
Robert Reif
|
ec61c6fa26
|
Fixed #1801 (simplifyTypedef: duplicate typedefs not handled properly)
|
2010-06-18 07:16:05 +02:00 |
Robert Reif
|
f116e74f6e
|
Fixed #1801 (Segmentation fault while scanning Qt's qcups.cpp)
|
2010-06-17 06:59:01 +02:00 |
Robert Reif
|
61e7e759f0
|
Fixed #1798 (structure templates)
|
2010-06-16 07:13:52 +02:00 |
Daniel Marjamäki
|
f3fbdc96e1
|
Fixed #1788 (Tokenizer: template destructor is lost)
|
2010-06-12 08:32:05 +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
|
08b6e6ee09
|
Fixed #1717 (False positive: Resource leak with while)
|
2010-05-30 13:15:15 +02:00 |
Daniel Marjamäki
|
83c62eca9c
|
Tokenizer: simplify loops that continue while errno is EINTR
|
2010-05-30 12:49:39 +02:00 |
Daniel Marjamäki
|
46b5e4e79a
|
Fixed #1716 (Wrong reporting of leak with close() in a while loop condition)
|
2010-05-29 22:20:10 +02:00 |
Daniel Marjamäki
|
d09e1df0d7
|
Fixed #1714 (Wrong precedence for shift operators when simplifying calculations?)
|
2010-05-29 20:27:08 +02:00 |
Robert Reif
|
1a25183e8f
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-29 07:52:06 +02:00 |
Robert Reif
|
3fb0260ef1
|
Fixed #1713 (remove Microsoft variants of inline)
|
2010-05-29 07:43:58 +02:00 |
Robert Reif
|
26a7d29760
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-28 06:55:54 +02:00 |
Robert Reif
|
8881a0c361
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-27 07:00:33 +02:00 |
Robert Reif
|
019e1f9dfe
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-25 20:43:44 +02:00 |
Daniel Marjamäki
|
78255fdfc5
|
Tokenizer: Removed the Tokenizer::simplifyNamespaces. Ticket: #1700
|
2010-05-23 13:51:41 +02:00 |
Robert Reif
|
b20cf06b66
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-23 10:46:39 +02:00 |
Robert Reif
|
41c43c1790
|
Fixed #1691 (False positive: Function parameter 'x' is passed by value. It could be passed by reference instead.)
|
2010-05-18 18:20:11 +02:00 |
Robert Reif
|
0d7474042a
|
Fixed #1685 (segmentation fault of cppcheck)
|
2010-05-18 07:11:23 +02:00 |
Robert Reif
|
9dfbd3946a
|
Fixed #1673 (Tokenizer::simplifyTypedef causes segfault for boost library)
|
2010-05-17 19:58:27 +02:00 |
Erik Lax
|
19aaa32a99
|
Fixed #1688 (Tokenizer::simplifyKnownVariables and pointer assignments)
|
2010-05-16 19:38:44 +02:00 |
Daniel Marjamki
|
8b1ffefd74
|
Fixed #1682 (Internal error)
|
2010-05-14 18:40:15 +02:00 |
Robert Reif
|
f8cceface5
|
Fixed #1677 (False positive: (style) Variable 'xxx' is assigned a value that is never used)
|
2010-05-13 13:59:41 +02:00 |
Robert Reif
|
963108d957
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-11 21:41:33 +02:00 |
Robert Reif
|
a390f3c8f4
|
Better handling of function pointer typedef
|
2010-05-10 17:50:40 +02:00 |
Robert Reif
|
ac7515cdcc
|
Fixed #1666 (simplifyTypedef: add support for typedefs of functions)
|
2010-05-10 07:12:06 +02:00 |
Daniel Marjamäki
|
6bb93b5eb7
|
Fixed #943 (Tokenizer: improve handling of pointer aliasing)
|
2010-04-25 15:12:47 +02:00 |
Daniel Marjamäki
|
8ccd95a643
|
Fixed #836 (buffer overrun: memmove)
|
2010-04-24 21:48:58 +02:00 |
Robert Reif
|
99a7755218
|
tokenizer improvements: remove calling convention (#1619)
|
2010-04-24 09:40:05 +02:00 |
Robert Reif
|
f4ce5a37d7
|
Fixed #1615 (False positive - C-style pointer casting)
|
2010-04-22 20:08:29 +02:00 |
Robert Reif
|
90541386da
|
Fixed #1619 (tokenizer: remove calling convention)
|
2010-04-21 21:08:47 +02:00 |
Robert Reif
|
bee4608b27
|
Fixed #1613 (False -s positive: Template instantiation hides typedef with same name)
|
2010-04-18 09:13:55 +02:00 |
Daniel Marjamäki
|
c0e9a546f7
|
Refactoring: Refactoring the Settings class
|
2010-04-17 09:23:54 +02:00 |
Daniel Marjamäki
|
c718a7c595
|
astyle: Update to astyle 1.24
|
2010-04-15 20:08:51 +02:00 |
Daniel Marjamäki
|
3fa2137ee3
|
Fixed #1596 ('Index out of bounds' false positive)
|
2010-04-15 19:09:19 +02:00 |
Robert Reif
|
d2bb4964d0
|
Fixed #1588 (typedef struct incorrectly simplified)
|
2010-04-14 19:06:51 +02:00 |
Reijo Tomperi
|
0912836c25
|
Fix: sizeof(char*) was not simplified correctly
|
2010-04-13 23:17:27 +03:00 |
Reijo Tomperi
|
4a33b226e6
|
Fix #1599 (false positive on if( (f = fopen("foo", "r")) == ((FILE*)NULL) ))
http://sourceforge.net/apps/trac/cppcheck/ticket/1599
|
2010-04-13 22:57:52 +03:00 |
Reijo Tomperi
|
35d2a27b9c
|
Update copyright year in all source files
|
2010-04-13 22:23:17 +03:00 |
Robert Reif
|
67fafd4028
|
Fixed #1588 (typedef struct incorrectly simplified)
|
2010-04-12 19:05:31 +02:00 |
Daniel Marjamäki
|
e9b4ea44a2
|
Refactoring: Disable inconclusive checks. They can still be activated for debugging/testing purposes
|
2010-04-10 14:05:33 +02:00 |
Zachary Blair
|
3152816619
|
Fixed #779 (Tokenizer: delete register keyword everywhere)
|
2010-04-10 09:58:09 +02:00 |
Reijo Tomperi
|
6dc3860ae9
|
Fix more -Wshadow compile warnings
|
2010-04-09 22:40:37 +03:00 |
Robert Reif
|
bc0a318b6d
|
Fixed #1580 (unnamed anonymous struct can segfault)
|
2010-04-08 17:40:23 +02:00 |
Daniel Marjamäki
|
f5b1a4db36
|
Refactoring unit testing
|
2010-04-04 19:28:15 +02:00 |
Daniel Marjamäki
|
0cad22314e
|
Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup.
|
2010-04-02 07:30:58 +02:00 |
Martin Ettl
|
193aa7d1d3
|
astyle fix
|
2010-04-02 02:21:53 +02:00 |
Robert Reif
|
62d2845014
|
Fixed #1492 (false negatives: array index out of bounds)
|
2010-03-28 15:56:13 +02:00 |
Reijo Tomperi
|
86fabd03b3
|
Fix #1532 (hang due to commit 772aa95c8a )
http://sourceforge.net/apps/trac/cppcheck/ticket/1532
|
2010-03-27 21:52:31 +02: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 |
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 |
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
|
772aa95c8a
|
Fixed #1477 (false positive: Uninitialized variable when pointer given to struct)
|
2010-03-13 11:52:48 +01:00 |
Daniel Marjamäki
|
587081cab5
|
Fixed #1488 (Invalid warning about shadowed variable)
|
2010-03-10 16:47:39 +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 |
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
|
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
|
50210857a6
|
Fixed #1439 (false positive: memory leak when using realloc)
|
2010-02-27 19:41:14 +01:00 |
Daniel Marjamäki
|
a8ee4a03f0
|
Fixed #1456 (PATCH: Variable hides typedef with same name false positive)
|
2010-02-27 07:27:51 +01:00 |
Daniel Marjamäki
|
ce0131a1e6
|
Fixed #1397 (false positive: Memory leak in while loop)
|
2010-02-26 22:14:56 +01:00 |
Robert Reif
|
54bf67e766
|
Fixed #1456 (PATCH: Variable hides typedef with same name false positive)
|
2010-02-26 21:43:00 +01:00 |
Robert Reif
|
f4d600e93b
|
Fixed #1457 (PATCH: Variable hides enumerator with same name false negative)
|
2010-02-26 21:40:57 +01:00 |
Daniel Marjamäki
|
377d3091a9
|
Fixed #1452 (Simplify goto better)
|
2010-02-25 20:03:39 +01:00 |
Robert Reif
|
f9d444ed52
|
Fixed #1445 (segfault in Tokenizer::simplifyRedundantParanthesis())
|
2010-02-25 07:24:32 +01:00 |
Reijo Tomperi
|
01c5bdfc68
|
Add TODO test case for #1452 (Simplify goto better)
http://sourceforge.net/apps/trac/cppcheck/ticket/1452
|
2010-02-24 22:55:16 +02:00 |
Robert Reif
|
7d8adfb4df
|
Fixed #1449 (segmentation fault of cppcheck)
|
2010-02-24 17:50:02 +01:00 |
Robert Reif
|
d9df3d5c6e
|
Fixed #1434 (### Internal error in Cppcheck. Please report it.)
|
2010-02-23 22:12:55 +01:00 |
Robert Reif
|
24628013f1
|
Fixed #1427 (new check: check for typedef name hiding)
|
2010-02-20 09:07:29 +01:00 |
Robert Reif
|
5c6ec0364d
|
Fixed #1411 (### Internal error in Cppcheck. Please report it.)
|
2010-02-18 07:24:24 +01:00 |
Robert Reif
|
deb71fc566
|
Fixed #1405 (false positive: operator = should return reference to itself)
|
2010-02-17 22:42:08 +01:00 |
Robert Reif
|
f15c408f13
|
Fixed #1388 (enum token/template parameter confusion - False positive)
|
2010-02-16 07:33:23 +01:00 |
Daniel Marjamäki
|
8853f304af
|
Fixed #1364 (False positive: (error) Possible null pointer dereference)
|
2010-02-08 18:25:08 +01:00 |
Daniel Marjamäki
|
ed8f3bc806
|
Fixed #1362 (Internal error when using ?-operator and nested {})
|
2010-02-07 09:14:59 +01:00 |
Daniel Marjamäki
|
0a31e5e3ee
|
Fixed #1352 (false positive: uninitialized variable)
|
2010-02-06 16:51:32 +01:00 |
Robert Reif
|
b78845174d
|
Fixed #1355 (Fixed enum bug when expression contain comma)
|
2010-02-06 09:49:56 +01:00 |