Daniel Marjamäki
|
13c2a73d3f
|
Tokenizer::simplifyKnownVariables: Fixed TODO test case.
|
2010-11-06 11:38:58 +01:00 |
Daniel Marjamäki
|
694853249f
|
Refactoring: Added ASSERT_EQUALS above TODO_ASSERT_EQUALS to catch changes in the behaviour better
|
2010-11-06 11:08:05 +01:00 |
Daniel Marjamäki
|
314e5b838b
|
Tokenizer: removed redundant assignments such as 'x+=0;'. Ticket: #2173
|
2010-11-06 07:23:35 +01:00 |
Daniel Marjamäki
|
d21974777c
|
Fixed #2161 (false positive: assigned a value that is never used)
|
2010-11-04 20:16:17 +01:00 |
Daniel Marjamäki
|
fce6f11ed8
|
Tokenizer: simplify 'a[b-1]+=1' better
|
2010-11-04 19:02:54 +01:00 |
Daniel Marjamäki
|
c0100bac94
|
Tokenizer: Added TODO test case for better handling of function calls
|
2010-11-03 20:13:34 +01:00 |
Daniel Marjamäki
|
1323cbdb6d
|
Fixed #2160 (#2160 (Invalid unused variable report (style)))
|
2010-11-03 19:30:00 +01:00 |
Daniel Marjamäki
|
dd4b2b8b46
|
Tokenizer: simplify 'x[0] += 1;'
|
2010-11-02 19:22:48 +01:00 |
Daniel Marjamäki
|
c4452effa3
|
Tokenizer: simplify 'x.y += 1;'
|
2010-11-01 20:33:55 +01:00 |
Daniel Marjamäki
|
1b9de20f9b
|
Tokenizer: simplify 'case 0: x += y;'
|
2010-11-01 19:31:30 +01:00 |
Daniel Marjamäki
|
3fb17baa12
|
Fixed #2158 (False positive: value is not unused when using +=)
|
2010-11-01 17:36:54 +01:00 |
Daniel Marjamäki
|
23d3fd3a5a
|
Fixed #2147 (uninitialized variable: false negative for 'x += y;')
|
2010-10-31 08:47:13 +01:00 |
Pete Johns
|
6649e31514
|
Fixed test case so that it would compile.
|
2010-10-27 21:14:40 +11:00 |
Daniel Marjamäki
|
a38b14d582
|
Tokenizer: Remove redundant semi colons
|
2010-10-26 21:05:20 +02:00 |
Daniel Marjamäki
|
6200d4505a
|
Fixed #2118 (Invalid syntax error report.)
|
2010-10-26 19:39:48 +02:00 |
Daniel Marjamäki
|
6a66d32871
|
JAVA: better handling of java code
|
2010-10-20 22:15:35 +02:00 |
Daniel Marjamäki
|
8b866178ff
|
Fixed #2103 (false positive when variable is checked to NULL and not freed)
|
2010-10-20 20:38:37 +02:00 |
Daniel Marjamäki
|
f8c02718a5
|
Activated checking of .java and .cs files
|
2010-10-19 21:54:15 +02:00 |
Daniel Marjamäki
|
81aed3fbd7
|
Tokenize: Fixed bug in Tokenize::simplifyKnownVariables
|
2010-10-10 19:27:42 +02:00 |
Daniel Marjamäki
|
e0ba626351
|
ClassInfo: Removed unused functionality
|
2010-10-08 19:43:41 +02:00 |
Daniel Marjamäki
|
a58ba811a6
|
Unit Testing: added missing TEST_CASE
|
2010-10-02 12:44:38 +02:00 |
Daniel Marjamäki
|
416f093fc3
|
Tokenizer: fixed variable declaration simplification
|
2010-09-15 19:53:47 +02:00 |
Daniel Marjamäki
|
0afd19c59b
|
Fixed #2039 (unions not handled properly, false positive about initialization)
|
2010-09-09 20:15:00 +02:00 |
Daniel Marjamäki
|
929a54e1b0
|
Fixed #2038 (memleak false positive with assignment expression in arguments)
|
2010-09-09 19:40:36 +02:00 |
Daniel Marjamäki
|
5af0d65aef
|
Fixed #2025 (iso646 c++ operators are not handled correctly)
|
2010-09-09 17:43:09 +02:00 |
Daniel Marjamäki
|
86a08b9f0e
|
unit testing: moved TestTokenizer::match tests to the TestToken
|
2010-09-07 20:42:29 +02:00 |
Daniel Marjamäki
|
3a4cda0f0d
|
Fixed #2034 (false positive: unused private function (Borland C++ __property))
|
2010-09-07 18:37:43 +02:00 |
Daniel Marjamäki
|
0f8bc429ad
|
Fixed #2021 (false positive: syntax error with -std=gnu++0x code)
|
2010-09-05 08:16:19 +02:00 |
Daniel Marjamäki
|
7d3ccb064b
|
Fixed #2020 (false positive: (error) Uninitialized variable, used in asm statement)
|
2010-09-05 08:06:37 +02:00 |
Daniel Marjamäki
|
51bc784537
|
Tokenizer: Fixed problem in Tokenizer::simplifyRedundantParanthesis when simplifying 'void delete(double num);'
|
2010-09-05 07:53:43 +02:00 |
Daniel Marjamäki
|
75fb99cee7
|
Fixed #2015 (### Internal error in Cppcheck. Please report it.)
|
2010-09-04 11:49:56 +02:00 |
Daniel Marjamäki
|
1938b8a423
|
Fixed #1976 (False Positives with unions)
|
2010-09-03 08:10:29 +02:00 |
Daniel Marjamäki
|
01b05618e5
|
Tokenizer: Fixed Cppcheck warnings
|
2010-09-02 20:51:01 +02:00 |
Daniel Marjamäki
|
eb74bfc15a
|
Fixed #2007 (False positive: member variable not initialized (Borland C++ property))
|
2010-09-01 18:10:12 +02:00 |
Daniel Marjamäki
|
55e0e435bd
|
Fixed #1959 (Do you support the oracle Pro*C ?)
|
2010-08-31 23:25:41 +03:00 |
Daniel Marjamäki
|
513826d8c2
|
Tokenizer::setVarId : don't give operator function variable id 'operator new []('. Ticket: #1997
|
2010-08-31 20:15:24 +02:00 |
Daniel Marjamäki
|
fbe11b9bb9
|
Fixed #1999 (False positive: uninitialized variable (__published variables))
|
2010-08-31 19:48:04 +02:00 |
Daniel Marjamäki
|
54e313efdc
|
Tokenizer: Added testcase that asserts that there are not internal errors when using typedefs. Ticket: #1887
|
2010-08-29 13:54:26 +02:00 |
Daniel Marjamäki
|
71453871d4
|
Fixed #1989 (false positive: Variable 'Aux13' is assigned a value that is never used)
|
2010-08-28 13:32:43 +02:00 |
Daniel Marjamäki
|
83a8879f11
|
Tokenizer::simplifyInitVar : Refactorings and fixes related to ticket #1989
|
2010-08-27 22:58:21 +02:00 |
Daniel Marjamäki
|
8eee4cf2e8
|
Fixed #1984 (false positive: syntax error in for loop (< -operator))
|
2010-08-26 23:24:01 +02:00 |
Daniel Marjamäki
|
57523574ef
|
Fixed #1985 (false positive: syntax error in try catch-block with for()-loop inside)
|
2010-08-26 23:19:18 +02:00 |
Daniel Marjamäki
|
8b18aaff25
|
Fixed #1981 (false positive: syntax error on template operator <)
|
2010-08-26 07:43:00 +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 |
Daniel Marjamäki
|
6c8287913c
|
Tokenizer: Detect some syntax errors when trying to use templates. Ticket: #1961
|
2010-08-25 21:57:57 +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 |
Daniel Marjamäki
|
39a69b0871
|
Fixed #1970 (Internal error. CheckClass::SpaceInfo::getVarList found variable '_root' with varid 0.)
|
2010-08-23 21:22:11 +02:00 |
Daniel Marjamäki
|
f7063bed7c
|
Fixed #1967 (Tokenizer::setVarid doesn't set variable value (list of function pointers))
|
2010-08-23 20:15:02 +02:00 |
Daniel Marjamäki
|
3b716dfcc9
|
Tokenizer: Simplified the bitfields handling. This patch just looks for the bitfield signature but doesn't care about the type. I don't think any other code would have this same signature so it should be OK. We could add code to only look in structures and classes but I don't think that is necessary. Ticket: #1956
|
2010-08-23 07:29:05 +02:00 |
Robert Reif
|
cb7b508f77
|
Tokenizer::simplifyBitfields: fixed more issues. Ticket #1956
|
2010-08-22 13:25:47 +02:00 |