Baris Demiray
|
d84d360afc
|
Fixed #4291 (Variable ID is not set when variable is accessed through 'this')
|
2012-10-19 06:18:13 +02:00 |
Edoardo Prezioso
|
61365ea0e5
|
Fixed #4293 (FP: Variable is not simplified, causing a false positive).
|
2012-10-17 00:25:20 +02:00 |
Daniel Marjamäki
|
562291477d
|
Fixed #4226 (False positive: Uninitialized variable (problem with namespace ::rtl))
|
2012-10-15 06:53:38 +02:00 |
Edoardo Prezioso
|
64b4960acc
|
Tokenizer: simplify GCC '({ %var%|%num% ; })' to '%var%|%num%'.
Remove useless brace around condition in simplifyFlowControl.
|
2012-10-13 13:24:41 +02:00 |
Edoardo Prezioso
|
1951d1cdc5
|
Tokenizer: improve the new 'skipTernaryOp' function by supporting GCC '{(var|num;)}' statement expression extension; improve 'Tokenizer::simplifyQuestionMark' by supporting simplification with 'case' before ternary operation, using skipTernaryOp to get colon and, most importantly, supporting indented '?:' operations.
|
2012-10-13 02:32:43 +02:00 |
Edoardo Prezioso
|
d4a3c1617a
|
Fixed: Tokenizer::simplifyLabelCaseDefault was careless with '?:' operator near 'case' adding the semicolon after the ternary colon.
|
2012-10-12 20:51:13 +02:00 |
Edoardo Prezioso
|
c42facae1f
|
Tokenizer::simplifyLabelsCaseDefault: jump '(' and '[' parenthesis.
TestTokenizer: add simple test cases with some correct and wrong syntax concerning 'case'.
|
2012-10-12 17:08:21 +02:00 |
Edoardo Prezioso
|
e62e03ab31
|
Fixed #4267 (segmentation fault of cppcheck (invalid code)).
|
2012-10-09 20:44:30 +02:00 |
Ettl Martin
|
2cf75d5339
|
astyle run
|
2012-10-08 21:50:21 +02:00 |
Ettl Martin
|
0879bb5825
|
#4245: Segmentation fault (invalid code); Applied patch from amai.
|
2012-10-08 21:49:25 +02:00 |
Daniel Marjamäki
|
6a37942431
|
Fixed #3935 (False report for accessing array out of bounds after casting to short)
|
2012-10-07 18:38:05 +02:00 |
Daniel Marjamäki
|
4c1abde48e
|
Reverted 107b3b44 . Write syntax error for 'if MACRO()'. We can't know if MACRO() is supposed to be used in the condition or if it is some annotation that should be removed. Ticket #4171
|
2012-10-06 19:12:39 +02:00 |
Edoardo Prezioso
|
e3bbcf501f
|
Fixed #4234 (segmentation fault of cppcheck in Tokenizer::simplifyFlowControl() (invalid code))
|
2012-10-06 13:37:44 +02:00 |
Daniel Marjamäki
|
2f069f550f
|
Removed Java/C# handling
|
2012-10-02 18:44:36 +02:00 |
Alexander Mai
|
074b7781b2
|
Fixed #4239 (segmentation fault of cppcheck (invalid code))
|
2012-09-27 06:35:36 +02:00 |
Daniel Marjamäki
|
2e3a7db4eb
|
Fixed #4115 (Incorrect uninitialized variable error message with realloc macro)
|
2012-09-22 18:41:33 +02:00 |
Edoardo Prezioso
|
406483b618
|
Fixed valgrind error in #3953 , but there's still the bad enum problem.
|
2012-09-20 21:07:37 +02:00 |
Daniel Marjamäki
|
c3cb6202ed
|
Fixed #4172 (TemplateSimplifier: Handle 'A<&f> x' template instantiation)
|
2012-09-19 16:10:13 +02:00 |
Ettl Martin
|
3f89e38275
|
fixed #4195 segmentation fault of cppcheck (invalid code); Added a testcase
|
2012-09-19 10:37:30 +02:00 |
Daniel Marjamäki
|
1f7d9ca22c
|
Fixed #4211 (Tokenizer::simplifyVarDecl: Improved handling of >> in templates)
|
2012-09-17 19:45:42 +02:00 |
XhmikosR
|
3c14e4b52a
|
test: tabs to spaces, remove trailing spaces and extra empty lines at the end of files
|
2012-09-17 13:51:40 +02:00 |
Daniel Marjamäki
|
f1ebd99dc2
|
Fixed #3507 (false positive: comma-separated statements before return in methods)
|
2012-09-15 11:55:08 +02:00 |
Daniel Marjamäki
|
9f2e1ab98d
|
Fixed #4048 (Tokenizer::simplifyVarDecl: Improve handling of 'a::b const * p = 0;')
|
2012-09-14 16:46:45 +02:00 |
Daniel Marjamäki
|
19fdbf0fd0
|
Fixed #4185 (Incorrect 'Found duplicate if expressions' for strings with high bit set)
|
2012-09-13 16:44:10 +02:00 |
PKEuS
|
ce9f6bdb56
|
Fixed segfault #4182
|
2012-09-10 17:33:52 +02:00 |
PKEuS
|
d44f10fc01
|
Fixed createLinks2() on this code: nvwa<(x > y)>
|
2012-09-09 15:31:23 +02:00 |
Daniel Marjamäki
|
107b3b4401
|
Fixed #4171 (don't choke when parentheses are missing from macros)
|
2012-09-09 09:48:07 +02:00 |
Daniel Marjamäki
|
a39b58046f
|
Tokenizer: Improved simplification of 'a?(1):b'
|
2012-09-08 10:45:00 +02:00 |
Daniel Marjamäki
|
2722f53edd
|
Fixed #4142 (false positive (error) Uninitialized variable: b)
|
2012-09-08 10:15:37 +02:00 |
Daniel Marjamäki
|
c31ce68520
|
TestTokenizer: Added TODO assertion
|
2012-09-08 09:01:02 +02:00 |
Daniel Marjamäki
|
2ce5cb3075
|
Tokenizer: Simplified parentheses better in such pattern: 'git merge --squash 4142 operator git merge --squash 4142 (%var%|)) ( %num%|%bool% ) %op%|;|,|)'
|
2012-09-08 07:01:35 +02:00 |
PKEuS
|
489df29346
|
Moved Tokenizer::typeConstToConstType() to Tokenizer::simplifyConst()
|
2012-09-07 11:41:41 +02:00 |
Daniel Marjamäki
|
1c7027140a
|
Tokenizer: Improved simplifyRedundantParanthesis
|
2012-09-06 16:16:29 +02:00 |
Daniel Marjamäki
|
3032ded9aa
|
replaced tabs with spaces
|
2012-09-05 19:46:44 +02:00 |
anuraggarg011
|
913670d254
|
Fixed #3304 (simple cases)
|
2012-09-04 13:41:14 +02:00 |
Edoardo Prezioso
|
6fd60eebb0
|
Tokenizer: added a workaround for #3690 (Support MSVC's 'for each').
|
2012-09-03 20:23:53 +02:00 |
anuraggarg011
|
bf11248a09
|
Fixed #1620 (tokenizer: simplify well known math functions)
|
2012-09-03 18:51:15 +02:00 |
PKEuS
|
ea85dd305a
|
Fixed #4086: Set varId in initialization list.
|
2012-08-28 12:44:40 +02:00 |
PKEuS
|
662b0d2dbe
|
Simplify 0[foo] to *(foo) (fixes #4083)
|
2012-08-26 10:03:05 +02:00 |
PKEuS
|
9fa7e15fb4
|
Fixed setVarId for nested templates (#3976, #3769) and support C++11 right angle brackets in TemplateSimplifier::templateParameters()
|
2012-08-26 09:49:38 +02:00 |
Daniel Marjamäki
|
f127728582
|
Enable --std=c11 and --std=c++11 by default
|
2012-08-25 21:57:45 +02:00 |
Daniel Marjamäki
|
985ac662ee
|
Fixed #4035 (False positive: Memory leak: pTempFile)
|
2012-08-25 12:00:25 +02:00 |
Daniel Marjamäki
|
5051837c1a
|
Reverted last commit. I pushed it by mistake.
|
2012-08-25 11:00:51 +02:00 |
Daniel Marjamäki
|
5e1ccfaf90
|
Fixed #4035 (False positive: Memory leak: pTempFile)
|
2012-08-25 10:55:20 +02:00 |
PKEuS
|
43e01a2b1a
|
Ran AStyle, removed redundant tokAt(0)
|
2012-08-22 16:51:44 +02:00 |
SAndeep
|
0600b0be8f
|
sprintf changes
|
2012-08-22 16:46:14 +02:00 |
Daniel Marjamäki
|
9ffc7f4c2d
|
Fixed #3964 (False positive: Expressions in array declarations are not simplified 'char mac[17+1];')
|
2012-08-20 18:10:32 +02:00 |
PKEuS
|
2ac2674f67
|
Fixed #4000, added support for function prototypes to TemplateSimplifier::templateParameters()
|
2012-08-12 05:19:56 -07:00 |
Daniel Marjamäki
|
435340b463
|
Fixed #3814 (false positive: missing constructor)
|
2012-07-29 16:01:05 +02:00 |
PKEuS
|
1ec3c9f634
|
Fixed hang in libreoffice code (simplification of K&R style function declaration tried to simplify a function with parameters without name whose implementation contained "; {".
Test cases of this simplification only need basic simplifications done in Tokenizer::tokenize
|
2012-07-29 06:11:48 -07:00 |