Robert Reif
|
bfc95e01c1
|
Fixed #2426 (### Internal error in Cppcheck. Please report it.)
|
2011-01-07 08:02:47 +01:00 |
Robert Reif
|
d7e170b3ca
|
typedef: fixed problem. ticket: #2414
|
2011-01-06 07:52:59 +01:00 |
Robert Reif
|
157498e694
|
Fixed #2412 (typedef: struct with inheritance)
|
2011-01-05 17:42:55 +01:00 |
Daniel Marjamäki
|
d700f25518
|
Fixed #2399 (Tokenizer::simplifyKnownVariables: variables in conditions)
|
2011-01-04 21:35:35 +01:00 |
Daniel Marjamäki
|
2c6421d162
|
Merge branch 'master' of https://github.com/rgeissert/cppcheck into rgeissert-realloc
|
2011-01-04 18:21:18 +01:00 |
Robert Reif
|
63208e87d3
|
typedef: delete unhandled typedefs. ticket: #2348
|
2011-01-04 07:43:40 +01:00 |
Robert Reif
|
a782d3ddf7
|
typedef: fix testcase 4. ticket: #2375
|
2011-01-04 07:39:41 +01:00 |
Raphael Geissert
|
3d9550b0bf
|
Simplify "x = realloc (0, n);" to "x = malloc(n);"
|
2011-01-02 17:46:10 -06:00 |
Daniel Marjamäki
|
d2714fefda
|
typedef: Fixed testcase. ticket: #2375
|
2011-01-02 17:28:47 +01:00 |
Daniel Marjamäki
|
320604f073
|
typedef: added more tests. ticket: #2375
|
2011-01-02 07:42:47 +01:00 |
Daniel Marjamäki
|
307178d3c2
|
Tokenizer: Better handling of duplicate enums. Ticket: #2381
|
2010-12-30 20:55:23 +01:00 |
Robert Reif
|
3900ac731e
|
simplifyTypedef: Better handling of 'typedef int RexxFunctionHandler();'. Ticket: #2348
|
2010-12-29 20:25:47 +01:00 |
Robert Reif
|
137d0e2ba7
|
typedef: fixed problem with 'typedef int pread_f(int);'. ticket: #2348
|
2010-12-29 09:18:41 +01:00 |
Robert Reif
|
e82b1f8946
|
typedef: fix typedef simplification. ticket: #2348
|
2010-12-28 21:21:13 +01:00 |
Daniel Marjamäki
|
0667fcf53c
|
Fixed #2355 (simplifyTypedef: wrong simplification of 'typedef FMAC1 void (*a)();')
|
2010-12-28 14:04:44 +01:00 |
Robert Reif
|
1b92eeae1e
|
Fixed #2354 (simplifyTypedef: function pointers are not simplified into valid code)
|
2010-12-28 08:01:32 +01:00 |
Daniel Marjamäki
|
6f8f0e1aa1
|
Fixed #2353 (Tokenizer::simplifyKnownVariables: wrong simplification after return)
|
2010-12-25 10:07:57 +01:00 |
Daniel Marjamäki
|
18fd12006a
|
Tokenizer::simplifyGoto: Don't simplify 'goto' inside unhandled macro calls. Ticket: #2348
|
2010-12-23 22:03:58 +01:00 |
Daniel Marjamäki
|
472ecd8805
|
Tokenizer: Fixed calculation simplification of '0*(*p)'. Ticket: #2348
|
2010-12-23 18:59:18 +01:00 |
Robert Reif
|
fc7e2d1ac1
|
Fixed #2341 (false positive for function pointer returning typedef)
|
2010-12-22 18:37:23 +01:00 |
Daniel Marjamäki
|
41ac2c252f
|
Fixed #2325 (Tokenizer: Remove for-loop if condition is false)
|
2010-12-18 21:43:12 +01:00 |
Robert Reif
|
bf136f0123
|
Fixed #2314 (False positive: (style) Template instantiation 'Foo' hides typedef with same name)
|
2010-12-16 07:48:46 +01:00 |
vBm
|
46a11183a5
|
Fixed some spelling mistakes
|
2010-12-15 18:45:53 +01:00 |
Daniel Marjamäki
|
69bacde479
|
Tokenizer: Cleanup redundant statement '; x = x + 0;'. Ticket: #2283
|
2010-12-09 19:35:52 +01:00 |
Robert Reif
|
f12c0c7ada
|
Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219
|
2010-12-01 18:00:55 +01:00 |
Daniel Marjamäki
|
add8584612
|
Fixed #2232 (segmentation fault of cppcheck)
|
2010-11-29 17:46:10 +01:00 |
Robert Reif
|
07f4067fa8
|
typedef: better handling of __typeof__
|
2010-11-11 17:02:04 +01:00 |
Robert Reif
|
a09c221014
|
typedefs: handle __typeof__
|
2010-11-11 06:40:49 +01:00 |
Robert Reif
|
8a379d4826
|
Fixed #2176 (Tokenizer::simplifyTypedef function pointer bug)
|
2010-11-06 15:15:50 +01:00 |
Robert Reif
|
c49a8a99a3
|
Fixed #2175 (Tokenizer::simplifyTypedef : wrong simplification of 'typedef float vec_t[3];')
|
2010-11-06 13:28:44 +01:00 |
Daniel Marjamäki
|
c39fbb86db
|
Tokenizer::simplifyKnownVariables : Fixed TODO test case when simplifying pointer alias in function call
|
2010-11-06 13:24:33 +01:00 |
Daniel Marjamäki
|
e901ee2e68
|
Added TODO unit test for ticket #2175. simplify 'typedef float x[3];'
|
2010-11-06 09:31:43 +01:00 |
Robert Reif
|
431201dd67
|
Fixed #2174 (Tokenizer::simplifyFunctionReturn bug)
|
2010-11-06 06:53:09 +01:00 |
Daniel Marjamäki
|
52faadda89
|
Tokenizer: simplify calculations with zero better
|
2010-11-05 20:35:31 +01:00 |
Daniel Marjamäki
|
4fdb420454
|
Tokenizer: simplifyknownvariables, improved handling of string constant
|
2010-11-05 20:05:57 +01:00 |
Daniel Marjamäki
|
a38b14d582
|
Tokenizer: Remove redundant semi colons
|
2010-10-26 21:05:20 +02:00 |
Daniel Marjamäki
|
02ba2b202e
|
Fixed #2110 (Tokenizer::simplifyTypedef: regression - wrong simplification of 'typedef char TString[256];')
|
2010-10-20 06:09:29 +02:00 |
Robert Reif
|
267d1f273e
|
Fixed #2082 (Tokenizer::simplifyTypedef: wrong handling of array)
|
2010-10-13 20:02:37 +02:00 |
Daniel Marjamäki
|
2334192bff
|
Fixed #2087 (False positive: Array 'str[1]' index 1 out of bounds)
|
2010-10-12 21:52:02 +02:00 |
Robert Reif
|
24eba7ef02
|
Unit Testing: Added more typedef tests
|
2010-10-08 16:00:21 +02:00 |
Daniel Marjamäki
|
e4c3b390cc
|
Fixed #2069 (cppcheck fails to scan OpenBSDs ftp source code)
|
2010-10-02 13:28:44 +02:00 |
Pete Johns
|
9a9302cba1
|
Prevent Tokenizer::simplifyCalculations() from removing parantheses from calls to Functors.
|
2010-10-02 21:19:05 +10:00 |
Robert Reif
|
2fc2859b68
|
Fixed #2035 (Enum 'qboolean' hides typedef with same name)
|
2010-09-08 06:45:57 +02:00 |
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 |