Daniel Marjamäki
|
0e729fedc0
|
Fixed #716 (segmentation fault: sizeof string)
|
2009-09-22 20:50:00 +02:00 |
Reijo Tomperi
|
0fff5a23bf
|
Fix #701 (false positive: Invalid deallocation)
http://sourceforge.net/apps/trac/cppcheck/ticket/701
|
2009-09-20 23:38:32 +03:00 |
Reijo Tomperi
|
55fc473a00
|
Fix #684 (Tokenizer: (65536*72/100) incorrectly simplified to zero)
http://sourceforge.net/apps/trac/cppcheck/ticket/684
|
2009-09-15 23:38:54 +03:00 |
Daniel Marjamäki
|
020321769c
|
Fixed #658 (Assertion 'begin != __null' failed)
|
2009-09-14 21:49:41 +02:00 |
Slava Semushin
|
d16a0b7a80
|
TestSimplifyTokens::sizeof_(): don't append leading space.
No functional change.
|
2009-09-13 17:59:59 +07:00 |
Slava Semushin
|
0fb89f8afa
|
Fixed #645 (Tokenizer::simplifyCasts() breaks link() if casts function)
http://sourceforge.net/apps/trac/cppcheck/ticket/645
|
2009-09-13 17:31:32 +07:00 |
Reijo Tomperi
|
241f585d34
|
Fix #594 (division by zero not detected when using atol or atof)
http://sourceforge.net/apps/trac/cppcheck/ticket/594
Simplify atol("0") into 0 (and other atol() calls also)
|
2009-09-12 23:54:47 +03:00 |
Daniel Marjamäki
|
7479b943cc
|
Fixed #644 (Tokenizer::simplifyComma: Wrong simplification in cast)
|
2009-09-12 08:12:00 +02:00 |
Reijo Tomperi
|
908aaff1fa
|
New test case in TestSimplifyTokens::template_default_parameter
|
2009-09-09 23:57:28 +03:00 |
Reijo Tomperi
|
ed425158d9
|
astyle fix
|
2009-09-06 15:12:38 +03:00 |
Slava Semushin
|
c1958054af
|
Added test cases for #487.
|
2009-09-06 18:29:39 +07:00 |
Daniel Marjamäki
|
535fe17ffd
|
Templates: Scaled up the handling of default values for template parameters (#638)
|
2009-09-06 08:22:45 +02:00 |
Reijo Tomperi
|
75a65a02a8
|
Fix another issue related to #647 (Crash during tokenizing (wrong) K&R function declaration)
http://sourceforge.net/apps/trac/cppcheck/ticket/647
|
2009-09-05 23:41:39 +03:00 |
Reijo Tomperi
|
a3d9863725
|
Fix #647 (Crash during tokenizing (wrong) K&R function declaration)
http://sourceforge.net/apps/trac/cppcheck/ticket/647
Thanks to undingen for providing a patch
|
2009-09-05 22:21:25 +03:00 |
Slava Semushin
|
a9273c9d39
|
Fixed #629 (Tokenizer: expand nested strcat() calls)
http://sourceforge.net/apps/trac/cppcheck/ticket/629
|
2009-09-05 23:46:27 +07:00 |
Daniel Marjamäki
|
7a9e4a7bd4
|
templates: remove typename tokens
|
2009-09-03 22:19:44 +02:00 |
Daniel Marjamäki
|
2719724a97
|
templates: Quick fix for the problem with default value for a template argument
|
2009-09-03 21:46:07 +02:00 |
Daniel Marjamäki
|
401f8aaa96
|
Templates: Added todo testcase for handling default values for template arguments. Related with ticket #638
|
2009-09-02 22:54:50 +02:00 |
Reijo Tomperi
|
fc343b3e9e
|
astyle fix
|
2009-08-29 23:33:12 +03:00 |
Slava Semushin
|
085187b445
|
Tokenizer: enhance simplifyNot() and rename to simplifyLogicalOperators().
Don't replace "and" everything becuse it may be used as variable name.
Better fix for #620
Corrections for commit eb05cf904d
|
2009-08-29 20:42:14 +07:00 |
Slava Semushin
|
eb05cf904d
|
Fixed #620 (Tokenizer: replace "and" by "&&")
http://sourceforge.net/apps/trac/cppcheck/ticket/620
|
2009-08-29 19:26:01 +07:00 |
Slava Semushin
|
ae413a1ef0
|
Fixed #618 (Tokenizer: Wrong handling of enum)
http://sourceforge.net/apps/trac/cppcheck/ticket/618
|
2009-08-29 16:42:42 +07:00 |
Daniel Marjamki
|
cbc237c37b
|
fixed failed assertions when running the testrunner
|
2009-08-28 17:05:25 +02:00 |
danmar
|
4f6b79b761
|
Fixed #625 (cppcheck dumps core on valid code)
|
2009-08-28 12:57:29 +02:00 |
danmar
|
bb2bda0be4
|
Fixed #622 (Tokenizer: Calculations are wrong)
|
2009-08-28 12:13:46 +02:00 |
Daniel Marjamäki
|
9bdd1def58
|
added testcase for the Tokenizer::simplifyGoto
|
2009-08-26 18:54:28 +02:00 |
Daniel Marjamäki
|
f94aab35e7
|
Fixed #498 (Tokenizer: simplify 'goto')
|
2009-08-26 18:46:56 +02:00 |
Daniel Marjamäki
|
c25e1963b1
|
Fixed #498 (Tokenizer: simplify 'goto')
|
2009-08-24 23:10:12 +02:00 |
Reijo Tomperi
|
9d1907be66
|
Fix ticket #600 (Tokenizer: if(!(fclose(fd) == 0)) is simplified incorrectly)
http://sourceforge.net/apps/trac/cppcheck/ticket/600
|
2009-08-20 22:37:05 +03:00 |
Slava Semushin
|
1fd2c0ff28
|
Fixed ticket #572 (Tokenizer: improve detection of arrays)
http://sourceforge.net/apps/trac/cppcheck/ticket/572
|
2009-08-09 15:16:37 +07:00 |
Reijo Tomperi
|
d719606201
|
Fixed ticket #564 (set variable id for "struct ABC **p")
http://sourceforge.net/apps/trac/cppcheck/ticket/564
|
2009-08-07 00:31:39 +03:00 |
Reijo Tomperi
|
80953633ee
|
Fix ticket #563 (set variable id for **p)
http://sourceforge.net/apps/trac/cppcheck/ticket/563
|
2009-08-06 23:11:29 +03:00 |
Daniel Marjamäki
|
1c59e4a51b
|
Fixed #528 (Tokenizer: Simplify: 'if(!(a->x=b()))')
|
2009-08-05 19:45:05 +02:00 |
Daniel Marjamäki
|
706ba34a6d
|
Refactoring the unit testing
|
2009-08-04 21:32:14 +02:00 |
Slava Semushin
|
ed86eda07d
|
Fixed ticket #549 (Tokenizer: improve calculation simplification)
http://sourceforge.net/apps/trac/cppcheck/ticket/549
|
2009-08-02 15:45:33 +07:00 |
Reijo Tomperi
|
2fa3b4ce60
|
Added more tests to test case TestSimplifyTokens::ifassign1
|
2009-07-30 01:39:28 +03:00 |
Reijo Tomperi
|
b56fdb83da
|
Fixed ticket #529 (Tokenizer: simplify if((x==0)))
http://sourceforge.net/apps/trac/cppcheck/ticket/529
|
2009-07-30 00:37:01 +03:00 |
Slava Semushin
|
c8caefa94c
|
Fixed ticket #519 (Tokenizer converts commas in for-loops)
http://sourceforge.net/apps/trac/cppcheck/ticket/519
|
2009-07-28 23:40:15 +07:00 |
Slava Semushin
|
600f3a834d
|
Fixed ticket #514 (false positive:: memory leak when using comma near delete[])
http://sourceforge.net/apps/trac/cppcheck/ticket/514
|
2009-07-28 02:13:08 +07:00 |
Reijo Tomperi
|
358aa5be8d
|
Improve test case TestSimplifyTokens::comma_keyword
|
2009-07-27 00:08:18 +03:00 |
Daniel Marjamäki
|
b4a6d74e42
|
astyle formatting
|
2009-07-26 22:13:08 +02:00 |
Slava Semushin
|
a73346e889
|
Fixed ticket #496 (Tokenizer: simplify statements with "," better)
https://sourceforge.net/apps/trac/cppcheck/ticket/496
|
2009-07-26 18:03:11 +07:00 |
Daniel Marjamäki
|
9136d8cf80
|
Tokenizer: simplify return statements - remove redundant parantheses
|
2009-07-24 21:55:35 +02:00 |
Daniel Marjamäki
|
024778d6eb
|
tokenizer: simplify '?:' better when the condition is always true
|
2009-07-23 10:12:02 +02:00 |
Daniel Marjamäki
|
1d514e1afe
|
Fixed #497 (Templates are not expanded correctly)
|
2009-07-22 13:29:42 +02:00 |
Daniel Marjamäki
|
2ccc01f5ed
|
tokenizer: improved the Tokenizer::simplifyIfNot
|
2009-07-18 10:18:46 +02:00 |
Daniel Marjamäki
|
69b1df3bb8
|
tokenizer: simplify the '?:' operator
|
2009-07-14 12:06:38 +02:00 |
Daniel Marjamäki
|
f4de77cefc
|
simplify tokens: simplify test cases
|
2009-07-14 11:37:26 +02:00 |
Daniel Marjamäki
|
17008879ac
|
minor refactoring: header cleanup. use forward declarations instead of includes
|
2009-07-13 19:11:31 +02:00 |
Daniel Marjamäki
|
0ea09b1cb6
|
templates: simplified a todo test case by removing a redundant function from the code
|
2009-07-08 09:38:59 +02:00 |