Robert Reif
|
a782d3ddf7
|
typedef: fix testcase 4. ticket: #2375
|
2011-01-04 07:39:41 +01:00 |
Robert Reif
|
63ad1fbe69
|
Fixed #2400 (Tests crashing in Windows)
|
2011-01-04 07:34:32 +01:00 |
Daniel Marjamäki
|
d2714fefda
|
typedef: Fixed testcase. ticket: #2375
|
2011-01-02 17:28:47 +01:00 |
Daniel Marjamäki
|
789d944912
|
typedef: don't simplify typedef after 'case'. it means that there is a typedef and constant with the same names. Ticket: #2386
|
2011-01-01 20:20:03 +01:00 |
Daniel Marjamäki
|
62145431a7
|
Tokenizer: Added more comments
|
2011-01-01 11:40:32 +01:00 |
Daniel Marjamäki
|
2da3fea1b8
|
Fixed #2386 (segmentation fault occurs in the checking when typedef has same name as an enum constant)
|
2010-12-31 20:55:28 +01:00 |
Daniel Marjamäki
|
f1f1a21c23
|
Borland C++: Fixed compiler errors
|
2010-12-31 10:24:51 +01:00 |
Daniel Marjamäki
|
d8f241e033
|
gcc: fixed -Wconversion errors
|
2010-12-31 09:51:27 +01:00 |
Daniel Marjamäki
|
cab338dffe
|
gcc: fixed -Wconversion warnings in tokenizer
|
2010-12-31 09:38:03 +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
|
3f1f50e970
|
simplifyTypedef: operator typedef. Ticket: #2375
|
2010-12-29 20:22:06 +01:00 |
Daniel Marjamäki
|
38e7209d26
|
Fixed #2373 (Using XML2 in --errorlist output)
|
2010-12-29 12:43:29 +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
|
92acca3d0c
|
Fixed #2368 (assigned a value that is never used)
|
2010-12-27 20:49:07 +01:00 |
Daniel Marjamäki
|
2367cfcf1e
|
Fixed #2361 (false positive on t[0X10])
|
2010-12-27 08:09:05 +01:00 |
Daniel Marjamäki
|
6178459c15
|
Fixed #2304 (Tokenizer::simplifyKnownVariables: known strcpy parameter)
|
2010-12-26 20:34:07 +01:00 |
Daniel Marjamäki
|
f4581d833d
|
Tokenizer: Bailout if @ is encountered in the code
|
2010-12-26 15:07:14 +01:00 |
Daniel Marjamäki
|
10ee43790d
|
Fixed #2339 (Tokenizer::setVarId : Wrong handling of 'int gr = id - (TLFPressProperties::OIL_FLUID * nb);')
|
2010-12-25 12:40:44 +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
|
f392dbef95
|
Fixed #2338 (False positive: Deallocating a deallocated pointer)
|
2010-12-22 08:24:50 +01:00 |
Daniel Marjamäki
|
41ac2c252f
|
Fixed #2325 (Tokenizer: Remove for-loop if condition is false)
|
2010-12-18 21:43:12 +01:00 |
Daniel Marjamäki
|
8ffc2b0ac6
|
Tokenizer: better handling for switch/break in the simplifyKnownVariables. Ticket: #2324
|
2010-12-18 11:14:31 +01:00 |
Daniel Marjamäki
|
7eb9855104
|
Tokenizer: Remove redundant parantheses in rhs. Ticket: #2320
|
2010-12-18 09:44:58 +01:00 |
Daniel Marjamäki
|
845d1491f9
|
Fixed #2307 (No constructor defined false positive when class is enclosed in namespace)
|
2010-12-17 20:56:46 +01:00 |
Daniel Marjamäki
|
2d97189486
|
Fixed #2311 (False positive: Index out of bounds)
|
2010-12-16 20:16:59 +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
|
b6acfa809b
|
Symbol database: creates a single symbol database within Tokenizer on demand and changes all checks to use it
|
2010-12-07 07:08:49 +01:00 |
Robert Reif
|
6c719c5806
|
Symbol database: removed unnecessary null pointer checks
|
2010-12-07 07:07:07 +01:00 |
Daniel Marjamäki
|
0b696b7079
|
Fixed #2280 (Tokenizer::setVarId : variable id not set for inner iterator)
|
2010-12-06 17:52:44 +01:00 |
Daniel Marjamäki
|
ab336b9088
|
Tokenizer: Added a few comments
|
2010-12-04 15:49:25 +01:00 |
Robert Reif
|
b29568c81d
|
Fixed #2271 (Tokenizer: simplify Qt signals and slots)
|
2010-12-03 08:14:09 +01:00 |
Robert Reif
|
eda4bcae29
|
Fixed #2271 (Tokenizer: simplify Qt signals and slots)
|
2010-12-02 17:41:49 +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 |
Daniel Marjamäki
|
00da0adf25
|
Fixed #2236 (False positive: Assignment to itself)
|
2010-11-28 11:48:06 +01:00 |
Daniel Marjamäki
|
ea405d95c6
|
Fixed #2241 (Segfault checking a file)
|
2010-11-28 07:35:42 +01:00 |
Daniel Marjamäki
|
0a744c0c6e
|
Fixed #2234 (Variable is assigned a value that is never used)
|
2010-11-25 18:16:11 +01:00 |
Daniel Marjamäki
|
22a4dd2cc3
|
Fixed #2225 (false positive: variable is assigned a value that is never used '*(stack[0])+=arg')
|
2010-11-23 20:35:08 +01:00 |
Robert Reif
|
1842a122da
|
reuse symbol database in checkmemoryleak.cpp. ticket: #2219
|
2010-11-23 18:41:07 +01:00 |
Daniel Marjamäki
|
bb745da5f9
|
Tokenizer::simplifyKnownVariables: suppress debug warnings about pointer aliases. Temporary solution that limits the amount of debug warnings somewhat.
|
2010-11-21 13:50:57 +01:00 |
Daniel Marjamäki
|
9d88e17c39
|
Tokenizer::simplifyKnownVariables: Reduce debug-warnings for conditional increment
|
2010-11-21 13:40:42 +01:00 |