Daniel Marjamäki
|
ad92aa4c20
|
Fixed #715 (False positive: Resource leak when exit() after if loop)
|
2009-09-22 18:09:29 +02:00 |
Daniel Marjamäki
|
faac5bccd6
|
Fixed #702 (If you see this, there is a bug - varid was 0)
|
2009-09-22 17:49:13 +02:00 |
Reijo Tomperi
|
4d2a8608a8
|
Fix #706 (false positive: invalid number of character ((), can't process file)
http://sourceforge.net/apps/trac/cppcheck/ticket/706
|
2009-09-21 23:27:06 +03: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
|
1c01dd64f3
|
Fix #703 (Tokenizer: Create links for [])
http://sourceforge.net/apps/trac/cppcheck/ticket/703
|
2009-09-20 23:13:06 +03:00 |
Reijo Tomperi
|
2dc1fe5dc1
|
astyle fix
|
2009-09-20 22:42:43 +03:00 |
Daniel Marjamäki
|
8a5ab6a3a0
|
Changelog
|
2009-09-20 15:28:33 +02:00 |
Daniel Marjamäki
|
d287a8e1d2
|
Version: 1.36
|
2009-09-20 14:14:01 +02:00 |
Slava Semushin
|
7236230228
|
Additional fix for better simplifying array declaration.
Pointed out by hyd_danmar@ in IRC.
Addressed to #696
|
2009-09-20 18:28:56 +07:00 |
Slava Semushin
|
5dee65048f
|
Fixed #690 (False positive: (possible error) Buffer overrun)
http://sourceforge.net/apps/trac/cppcheck/ticket/690
|
2009-09-20 17:54:19 +07:00 |
Slava Semushin
|
58a9e05697
|
Fixed #696 (Tokenizer: Simplify array declaration)
http://sourceforge.net/apps/trac/cppcheck/ticket/696
|
2009-09-20 17:28:15 +07:00 |
Reijo Tomperi
|
003e27c10e
|
Fix #667 (Preprocessor does not handle macro inside macro correctly)
http://sourceforge.net/apps/trac/cppcheck/ticket/667
|
2009-09-20 00:09:05 +03:00 |
Reijo Tomperi
|
661e4504cb
|
astyle fix
|
2009-09-19 14:21:50 +03:00 |
Daniel Marjamäki
|
7f2ca357b0
|
Fixed #673 (False positive: null pointer dereference when dynamic cast is used)
|
2009-09-19 10:54:10 +02:00 |
Slava Semushin
|
4c30ab0b88
|
Token::stringifyList(): removed const modifier from parameter.
const useless in this case because argument passed by value.
No functional change.
|
2009-09-19 14:16:01 +07:00 |
Slava Semushin
|
7a07f9343f
|
test/testtokenize.cpp: refactoring code.
- introduce and use simplifyKnownVariables() function
- don't append leading space to result string with tokens
No functional change.
|
2009-09-19 13:55:41 +07:00 |
Slava Semushin
|
5ab6c6cf80
|
Preprocessor: document that removeComments() may throws exception.
No code change.
|
2009-09-19 13:30:54 +07:00 |
Daniel Marjamäki
|
8f96c1992a
|
Fixed #688 (False positive in error category when --all is used)
|
2009-09-19 08:23:10 +02:00 |
Vesa Pikki
|
1c1ffa63f3
|
Fixed ticket#687.
Thread state is now initialized to "Ready".
|
2009-09-18 20:56:31 +02:00 |
Daniel Marjamäki
|
14c45c2118
|
Preprocessor: Skip BOM
|
2009-09-18 19:42:06 +02:00 |
Daniel Marjamäki
|
e4291a5966
|
Fixed #676 (The scope of variable can actually not be limited)
|
2009-09-17 21:05:12 +02:00 |
Daniel Marjamäki
|
1dc738b1ae
|
Fixed #677 (False positive: Unused private function produced by class member initialization)
|
2009-09-16 23:04:13 +02:00 |
Daniel Marjamäki
|
c5368581d9
|
Fixed by #675 (false positive: when operator is overloaded)
|
2009-09-16 20:07:03 +02: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
|
5efedf85d6
|
Fixed #671 (False positive. Leak when loop is before exit)
|
2009-09-15 22:26:38 +02:00 |
Daniel Marjamäki
|
36c7108a28
|
Fixed #669 (possible style without --all + false positives)
|
2009-09-15 20:46:47 +02:00 |
Reijo Tomperi
|
92b8593f59
|
TODO test case for preprocessor macro handling
|
2009-09-14 22:53:57 +03:00 |
Daniel Marjamäki
|
020321769c
|
Fixed #658 (Assertion 'begin != __null' failed)
|
2009-09-14 21:49:41 +02:00 |
Reijo Tomperi
|
2b6955dde5
|
Fix #670 (Tokenizer: Simplify '\0' into 0)
http://sourceforge.net/apps/trac/cppcheck/ticket/670
|
2009-09-14 21:42:56 +03:00 |
Daniel Marjamäki
|
e3119235e0
|
Tokenizer: Added a simple validation function that we can use during debugging
|
2009-09-13 15:35:37 +02:00 |
Daniel Marjamäki
|
62bdf032ac
|
simplifyTemplates: assert that braces and parantheses are handled correctly
|
2009-09-13 15:00:48 +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
|
fc7413e43d
|
Token::getStrLength(): fixed errors from valgrind.
Correction for 13b2edd61e commit.
|
2009-09-13 17:50:21 +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 |
Slava Semushin
|
dade31b6d7
|
TestTOKEN::getStrLength(): allocate tok variable in stack (instead of in heap)
No functional change.
|
2009-09-13 15:08:43 +07:00 |
Slava Semushin
|
13b2edd61e
|
Token::getStrLength(): use Token::strValue().
No functional change.
|
2009-09-13 15:03:28 +07:00 |
Slava Semushin
|
1617abf053
|
Token::strValue(): added const modifier.
Correction for 241f585d34 commit.
No functional change.
|
2009-09-13 15:02:59 +07:00 |
Slava Semushin
|
eb6b5cfce6
|
Tokenizer::simplifyMathFunctions(): change return type to void.
Correction for 241f585d34 commit.
No functional change.
|
2009-09-13 14:53:15 +07:00 |
Daniel Marjamäki
|
c0ca375ef7
|
Fixed #478 (Warnings in Visual Studio build with -W4)
|
2009-09-13 09:03:48 +02:00 |
Daniel Marjamäki
|
1d974f7c05
|
memory leaks: added test assertion. simplify ';alloc;exit;' to ';exit;'
|
2009-09-13 07:20:42 +02: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 |
Reijo Tomperi
|
c6b0cfc15c
|
Fix #662 (Command line option --append not documented)
http://sourceforge.net/apps/trac/cppcheck/ticket/662
|
2009-09-12 22:16:13 +03:00 |
Daniel Marjamäki
|
5df28c51c6
|
memory leaks: minor refactorings
|
2009-09-12 21:13:47 +02:00 |
Daniel Marjamäki
|
f4b6c822d3
|
Fixed #375 (new check: Detect when using 'this-x')
|
2009-09-12 15:25:02 +02:00 |
Daniel Marjamäki
|
ab4a7fdef2
|
Fixed #518 (False positive for leaks when function from err()-family used)
|
2009-09-12 14:11:17 +02:00 |
Daniel Marjamäki
|
7479b943cc
|
Fixed #644 (Tokenizer::simplifyComma: Wrong simplification in cast)
|
2009-09-12 08:12:00 +02:00 |
Daniel Marjamäki
|
37dae83e06
|
More Fixing of #635 (Preprocessor: remove 'asm(...)')
|
2009-09-11 23:34:24 +02:00 |
Reijo Tomperi
|
ed1c9bed49
|
Fix ticket #632 (Mathlib isInt() identifies "330L" as not int)
http://sourceforge.net/apps/trac/cppcheck/ticket/632
|
2009-09-11 23:46:59 +03:00 |
Daniel Marjamäki
|
8837e0dcff
|
Simple fix for #635 (preprocessor: remove 'asm(...)')
|
2009-09-11 21:22:41 +02:00 |
Reijo Tomperi
|
9828117aff
|
Fixed some "is passed by value" errors from cppcheck source.
|
2009-09-10 22:22:57 +03:00 |