Reijo Tomperi
|
2c51542cf1
|
Fix #1018 (strcat(strcat()) causes assertion in Tokenizer::validate)
Test case provided by povaddict
http://sourceforge.net/apps/trac/cppcheck/ticket/1018
|
2009-11-27 23:21:13 +02:00 |
Daniel Marjamäki
|
c94ecfe1a3
|
Fixed #1015 (SIGABRT: Tokenizer::validate for openttd/src/ai/ai_config.cpp)
|
2009-11-27 17:32:53 +01:00 |
Daniel Marjamäki
|
128b2b8c59
|
Fixed #989 (CppCheck crashes on Win XP when scanning large directories/subdirectories)
|
2009-11-23 18:59:50 +01:00 |
Daniel Marjamäki
|
9b397afeca
|
Temporary fix for #994 (cppcheck cannot check my sources with segfaulting)
|
2009-11-22 13:38:45 +01:00 |
Daniel Marjamäki
|
531d0fa685
|
Fixed #965 (Division by zero false positive with nested macros)
|
2009-11-20 20:42:28 +01:00 |
Slava Semushin
|
5369965e55
|
Fixed #983 (Tokenizer::simplifyTypedef() incorrectly substitute type inside namespace)
http://sourceforge.net/apps/trac/cppcheck/ticket/983
|
2009-11-20 00:02:16 +06:00 |
Slava Semushin
|
2ec5438186
|
Fixed #954 (Tokenizer: correctly simplify sizeof of class members)
http://sourceforge.net/apps/trac/cppcheck/ticket/954
|
2009-11-14 01:07:44 +06:00 |
Daniel Marjamäki
|
b2cec721c0
|
Fixed #951 (Preincremented struct member confused with numeric constant)
|
2009-11-12 22:16:24 +01:00 |
Reijo Tomperi
|
d2db4d3a27
|
Test case for #903 (segmentation fault of cppcheck)
http://sourceforge.net/apps/trac/cppcheck/ticket/903
|
2009-11-12 21:04:11 +02:00 |
Daniel Marjamäki
|
0c8d327809
|
Fixed #907 (Tokenizer: known result of strlen)
|
2009-11-07 08:25:39 +01:00 |
Daniel Marjamäki
|
58c54d2ed4
|
Fixed #898 (Tokenizer: remove unneeded const after *)
|
2009-11-05 21:30:05 +01:00 |
Reijo Tomperi
|
de4ca924b5
|
Fixed #896 (False positive with --all when return value of open() is positive in a loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/896
|
2009-11-05 00:58:15 +02:00 |
Daniel Marjamäki
|
3e4dd22eed
|
fixed todo testcase
|
2009-11-01 21:00:43 +01:00 |
Reijo Tomperi
|
618eed3d59
|
Fixed segmentation fault.
Had to change one test case to TODO for now.
|
2009-11-01 21:49:43 +02:00 |
Daniel Marjamäki
|
319cdc2b43
|
Fixed #880 (Tokenizer: The Tokenizer::simplifyTemplates doesn't handle recursive templates)
|
2009-11-01 19:03:52 +01:00 |
Daniel Marjamäki
|
fec7acdc27
|
Templates: Better handling of recursive templates
|
2009-11-01 15:56:00 +01:00 |
Daniel Marjamäki
|
a337708ae5
|
Fixed #430 (Tokenizer: handle templates with partial specialisation)
|
2009-10-31 12:34:52 +01:00 |
Reijo Tomperi
|
4a61bd0432
|
Fix #870 (The CheckClass::getVarList method detects 'const' as a variable name.)
http://sourceforge.net/apps/trac/cppcheck/ticket/870
|
2009-10-29 21:54:51 +02:00 |
Reijo Tomperi
|
59acfbc4df
|
Fix #863 (false positive memset array of pointers)
http://sourceforge.net/apps/trac/cppcheck/ticket/863
Also fix test cases for 64 bit systems.
|
2009-10-27 20:23:45 +02:00 |
Daniel Marjamäki
|
09859c1019
|
refactoring the folder structure
|
2009-10-25 12:49:06 +01:00 |
Daniel Marjamäki
|
88070b044b
|
Fixed #851 (Tokenizer: sizeof(*a) returns incorrect result)
|
2009-10-22 23:00:27 +02:00 |
Daniel
|
b80a954f55
|
Fixed #844 (Tokenizer: Simplify 'sizeof *ptr' correctly)
|
2009-10-21 21:08:00 +02:00 |
Reijo Tomperi
|
9d42194562
|
Fix #767 (Tokenizer: Known variable variable not simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/767
|
2009-10-20 23:58:46 +03:00 |
Daniel Marjamäki
|
50e542c183
|
Fixed #827 (Tokenizer: sizeof is incorrectly simplified)
|
2009-10-18 18:06:32 +02:00 |
Daniel Marjamäki
|
2ec1b676ea
|
Pointer Aliasing: Handle pointer aliasing through the Tokenizer::simplifyKnownVariables
|
2009-10-17 18:21:13 +02:00 |
Slava Semushin
|
237dcb9533
|
Fixed #809 (Tokenizer: don't replace sizeof() of unknown type to zero)
http://sourceforge.net/apps/trac/cppcheck/ticket/809
|
2009-10-10 19:26:03 +07:00 |
Reijo Tomperi
|
8fc21dda27
|
Fix #801 (Tokenizer: Simplify sizeof for function parameters)
http://sourceforge.net/apps/trac/cppcheck/ticket/801
|
2009-10-07 12:05:44 +03:00 |
Reijo Tomperi
|
06dd66bff4
|
Fix #487 (Tokenizer: Simplify sizeof for string array and string pointer)
http://sourceforge.net/apps/trac/cppcheck/ticket/487
|
2009-10-07 11:08:53 +03:00 |
Reijo Tomperi
|
8472e58413
|
Refactored sizeof simplification and fixed one TODO assert.
|
2009-10-07 10:54:34 +03:00 |
Reijo Tomperi
|
2e69d50458
|
Fix #796 (segmentation fault while scanning)
http://sourceforge.net/apps/trac/cppcheck/ticket/796
|
2009-10-06 21:03:15 +03:00 |
Reijo Tomperi
|
c55140d4cd
|
Fix #580 (double free not found)
http://sourceforge.net/apps/trac/cppcheck/ticket/580
|
2009-10-06 12:44:53 +03:00 |
Reijo Tomperi
|
13fbd616da
|
Moved some test cases from testtokenize into testsimplifytokens and added one TODO case.
|
2009-10-06 12:40:50 +03:00 |
Reijo Tomperi
|
edb28d2856
|
Fix #365 (Improve simplifyQuestionMark() in tokenize.cpp)
http://sourceforge.net/apps/trac/cppcheck/ticket/365
|
2009-10-05 17:34:38 +03:00 |
Reijo Tomperi
|
036f3894f1
|
Fix simplifyRedundantParanthesis() to work after '}'
|
2009-10-05 14:30:05 +03:00 |
Reijo Tomperi
|
5a0a5422c3
|
Fix #776 (Tokenizer: remove useless brackets around variable assignment)
http://sourceforge.net/apps/trac/cppcheck/ticket/776
|
2009-10-05 14:22:35 +03:00 |
Reijo Tomperi
|
fc684d7b5a
|
Fix #778 (Tokenizer: impove simplification inside if())
http://sourceforge.net/apps/trac/cppcheck/ticket/778
|
2009-10-05 14:10:09 +03:00 |
Reijo Tomperi
|
8bb812548c
|
Fix #777 (Tokenizer: double casting simplified incorrectly)
http://sourceforge.net/apps/trac/cppcheck/ticket/777
|
2009-10-05 00:12:12 +03:00 |
Reijo Tomperi
|
498beb7d9a
|
Fix #784 (Tokenizer: Simplify 2[a] -> a[2])
http://sourceforge.net/apps/trac/cppcheck/ticket/784
|
2009-10-04 23:33:41 +03:00 |
Daniel Marjamäki
|
ee1bcb728c
|
use '<' comparisons instead of '>' (#610)
|
2009-10-04 07:51:12 +02:00 |
Slava Semushin
|
b0d8b6ca8b
|
Fixed #780 (Tokenizer: replace typedef for pointers to struct)
http://sourceforge.net/apps/trac/cppcheck/ticket/780
|
2009-10-03 22:02:23 +07:00 |
Reijo Tomperi
|
39092150e2
|
Fix #763 (Tokenizer: Goto incorrectly simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/763
|
2009-10-01 10:25:32 +03:00 |
Reijo Tomperi
|
f9871c2d54
|
Fix #745 (false positive: possible null pointer dereference , while)
http://sourceforge.net/apps/trac/cppcheck/ticket/745
|
2009-09-30 21:42:14 +03:00 |
Reijo Tomperi
|
7852d38f54
|
Fix #761 (Tokenizer: typedef inside class is incorrectly simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/761
|
2009-09-30 14:35:00 +03:00 |
Reijo Tomperi
|
bb1a9a07e4
|
Fix #760 (Tokenizer: Goto not simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/760
|
2009-09-30 14:30:53 +03:00 |
Reijo Tomperi
|
500dedb8a3
|
Added TODO test cases: simplifyTypedef, simplifyTypedef2, simplifyTypedef3
|
2009-09-30 10:11:09 +03:00 |
Reijo Tomperi
|
fdde2182b9
|
Fix GPL comments in all files. ">." was missing from the end.
|
2009-09-27 18:08:31 +03:00 |
Reijo Tomperi
|
d1f3953cce
|
Fix #720 (String length for strings like this "\x61" is calculated wrong)
http://sourceforge.net/apps/trac/cppcheck/ticket/720
|
2009-09-27 17:04:10 +03:00 |
Slava Semushin
|
313479cf8d
|
Tokenizer::simplifySizeof(): use Token::getStrLength().
Fixed wrong result when string contains escaped quotes.
Correction for 0e729fedc0 commit.
|
2009-09-23 23:02:53 +07:00 |
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 |