Daniel Marjamäki
|
28f2bf2150
|
Robert Reif: Fixed #1161 (add tokenize support for typedefs with enum definitions)
|
2009-12-28 17:57:52 +01:00 |
Daniel Marjamäki
|
197bcf17ba
|
Tokenizer: Simplify 'while (0)' better
|
2009-12-28 08:37:34 +01:00 |
Daniel Marjamäki
|
c7cede1d76
|
Fixed #972 (New check: return pointer of stack memory)
|
2009-12-27 13:08:41 +01:00 |
Daniel Marjamäki
|
44a629ec74
|
Fixed #1141 (Tokenizer: Wrong simplification of calculations)
|
2009-12-25 14:47:15 +01:00 |
Daniel Marjamäki
|
4dac46b2d7
|
Fixed #1127 (Segfault with template)
|
2009-12-22 20:10:08 +01:00 |
Daniel Marjamäki
|
5b87a51aa5
|
Robert Reif: Fixed #1108 (Only trivial typedefs are tokenized properly)
|
2009-12-22 19:10:33 +01:00 |
Reijo Tomperi
|
798e07dee4
|
Added test case for else if simplification
|
2009-12-08 01:22:24 +02:00 |
Reijo Tomperi
|
bd024b7a2d
|
Fix #1065 (Internal error - incrementing single char in char array)
http://sourceforge.net/apps/trac/cppcheck/ticket/1065
|
2009-12-07 23:42:30 +02:00 |
Daniel Marjamäki
|
cd4e355f17
|
Fixed #1052 (Internal error for 'int vals[] = { 0x13, 1?0x01:0x00 };')
|
2009-12-06 10:58:27 +01:00 |
Daniel Marjamäki
|
75f6e20e61
|
Fixed #1050 (Internal error: In tokenizer for: 'do { sizeof 1; } while (0);')
|
2009-12-06 08:46:59 +01:00 |
Reijo Tomperi
|
5a40a8c2dd
|
CRLF -> LF fix
|
2009-12-05 22:17:58 +02:00 |
Daniel Marjamäki
|
96268b4caf
|
Fixed #1030 (wrong line number with goto)
|
2009-12-02 19:47:35 +01:00 |
Daniel Marjamäki
|
153a13272c
|
ericsesterhenn: Fix #1028 (False positive resource leak)
|
2009-11-30 16:45:19 +01:00 |
Daniel Marjamäki
|
e6b5fe99f6
|
Fixed #1027 (Internal error: sizeof a++)
|
2009-11-29 17:25:35 +01:00 |
Daniel Marjamäki
|
e7d7507c65
|
Fixed #1020 (lib/tokenize.cpp:4615: bool Tokenizer::validate() const: Assertion 0 failed)
|
2009-11-29 12:14:42 +01:00 |
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 |