Daniel Marjamäki
|
416f093fc3
|
Tokenizer: fixed variable declaration simplification
|
2010-09-15 19:53:47 +02:00 |
Daniel Marjamäki
|
42d0ad8262
|
Fixed #2048 (Preprocessor: ifndef incorrectly simplified)
|
2010-09-14 17:45:37 +02:00 |
Robert Reif
|
0153dccb66
|
Symbol database: Skip bail out in constructors if a virtual function might be called because that would be undefined behaviour. Ticket: #1895
|
2010-09-14 07:16:53 +02:00 |
Daniel Marjamäki
|
b0bb71ee20
|
Preprocessor: Handle C++0x rawstrings by replacing them with normal strings. Ticket: #2022
|
2010-09-13 19:36:40 +02:00 |
Robert Reif
|
6de1711515
|
Symbol database: reduce false negatives for 'uninitialized variable' when calling base class function. ticket: #1895
|
2010-09-12 22:40:51 +02:00 |
Daniel Marjamäki
|
84d9282da2
|
Memory leaks: remove redundant 'if return ; else|'
|
2010-09-12 21:41:13 +02:00 |
Robert Reif
|
aae2986361
|
Fixed #2042 (#error messages should be displayed when user defines are used)
|
2010-09-12 21:30:47 +02:00 |
Daniel Marjamäki
|
5a95303405
|
Memory leaks: reduce 'loop { if continue ;' to 'loop {'
|
2010-09-12 21:15:19 +02:00 |
Daniel Marjamäki
|
9c4a05a3bd
|
Memory leaks: simplify 'loop { use ; callfunc ; }' to 'use ;'
|
2010-09-12 20:45:30 +02:00 |
Daniel Marjamäki
|
ceeef847ef
|
Memory leaks: simplify 'if break ; break ;'
|
2010-09-11 21:48:40 +02:00 |
Daniel Marjamäki
|
7aa0504692
|
Memory leaks: simplify 'use use'
|
2010-09-11 21:32:21 +02:00 |
Daniel Marjamäki
|
d4e045cee5
|
Memory leaks: fixed try/catch and nested loops simplifications
|
2010-09-11 21:07:35 +02:00 |
Daniel Marjamäki
|
4064712baa
|
Memory leaks: improved simplification for 'callfunc'
|
2010-09-11 20:49:24 +02:00 |
Daniel Marjamäki
|
73122c3e8a
|
Memory leaks: Improved the simplifycode for 'use ; if| use ;'
|
2010-09-11 20:18:16 +02:00 |
Daniel Marjamäki
|
ecd863700e
|
Fixed #2023 (false positive with realloc())
|
2010-09-11 11:15:04 +02:00 |
Robert Reif
|
69afc0a0db
|
Symbol database: fixed false positive. ticket: #1895
|
2010-09-11 08:23:30 +02:00 |
Daniel Marjamäki
|
0418731473
|
Fixed #2030 (False positive: Uninitialized variable when function does not return)
|
2010-09-10 19:02:40 +02:00 |
Daniel Marjamäki
|
0afd19c59b
|
Fixed #2039 (unions not handled properly, false positive about initialization)
|
2010-09-09 20:15:00 +02:00 |
Daniel Marjamäki
|
929a54e1b0
|
Fixed #2038 (memleak false positive with assignment expression in arguments)
|
2010-09-09 19:40:36 +02:00 |
Daniel Marjamäki
|
5af0d65aef
|
Fixed #2025 (iso646 c++ operators are not handled correctly)
|
2010-09-09 17:43:09 +02:00 |
Robert Reif
|
c3762903a9
|
Symbol database: fixed false negative for uninitialized variable. ticket: #1895
|
2010-09-09 07:21:51 +02:00 |
Daniel Marjamäki
|
80be31de13
|
Fixed #2037 (memleak not detected in exit path when variable used)
|
2010-09-08 20:03:22 +02:00 |
Daniel Marjamäki
|
8e746ca53f
|
CheckMemoryleaks: reduce 'use ; if return ; dealloc ;' to 'if return ; dealloc ;'. ticket: #2037
|
2010-09-08 19:22:03 +02:00 |
Daniel Marjamäki
|
ad03c97a6e
|
cmdlineparser: allow space between -D and define name. ticket: #2036
|
2010-09-08 17:42:28 +02:00 |
Kimmo Varis
|
3c8ffb90dd
|
Add tests for userdefines and userincludes for CmdLineParser.
|
2010-09-08 18:02:22 +03:00 |
Robert Reif
|
2fc2859b68
|
Fixed #2035 (Enum 'qboolean' hides typedef with same name)
|
2010-09-08 06:45:57 +02:00 |
Daniel Marjamäki
|
86a08b9f0e
|
unit testing: moved TestTokenizer::match tests to the TestToken
|
2010-09-07 20:42:29 +02:00 |
Daniel Marjamäki
|
5688412f00
|
Fixed #2030 (False positive: Uninitialized variable when function does not return)
|
2010-09-07 20:25:29 +02:00 |
Daniel Marjamäki
|
3a4cda0f0d
|
Fixed #2034 (false positive: unused private function (Borland C++ __property))
|
2010-09-07 18:37:43 +02:00 |
Reijo Tomperi
|
2ab78d819e
|
One more encoding fix.
|
2010-09-07 00:12:24 +03:00 |
Kimmo Varis
|
1dfab9f02c
|
Add more tests for CmdLineParser.
|
2010-09-06 23:16:52 +03:00 |
Daniel Marjamäki
|
cfe694330f
|
Fixed #2024 (Internal Error on multiple append calls on same string object)
|
2010-09-06 21:34:51 +02:00 |
Kimmo Varis
|
f36666572a
|
Add couple of basic tests for CmdLineParser.
|
2010-09-06 22:31:06 +03:00 |
Daniel Marjamäki
|
cfbc06c8b6
|
removed 'empty catch block' check. to avoid false positives we'll need to check if it is bad with an empty catch block (dead pointer/undefined behaviour/etc)
|
2010-09-05 13:27:58 +02:00 |
Kimmo Varis
|
8fde754ad0
|
Disable command line tests after refactoring command line handling.
Disable the tests until I create tests that work with the new code.
|
2010-09-05 11:17:32 +03:00 |
Daniel Marjamäki
|
0f8bc429ad
|
Fixed #2021 (false positive: syntax error with -std=gnu++0x code)
|
2010-09-05 08:16:19 +02:00 |
Daniel Marjamäki
|
7d3ccb064b
|
Fixed #2020 (false positive: (error) Uninitialized variable, used in asm statement)
|
2010-09-05 08:06:37 +02:00 |
Daniel Marjamäki
|
51bc784537
|
Tokenizer: Fixed problem in Tokenizer::simplifyRedundantParanthesis when simplifying 'void delete(double num);'
|
2010-09-05 07:53:43 +02:00 |
Daniel Marjamäki
|
a2b4e5641f
|
Fixed #2010 (missing continue in switch check ?)
|
2010-09-04 14:24:45 +02:00 |
Daniel Marjamäki
|
75fb99cee7
|
Fixed #2015 (### Internal error in Cppcheck. Please report it.)
|
2010-09-04 11:49:56 +02:00 |
Daniel Marjamäki
|
9415423352
|
Fixed #2017 (false positive::struct or union member 'Base::m_ui' is never used)
|
2010-09-04 11:21:34 +02:00 |
Daniel Marjamäki
|
f490ebcf88
|
Fixed #1872 (Confused -v switch)
|
2010-09-03 13:30:49 +02:00 |
Daniel Marjamäki
|
1938b8a423
|
Fixed #1976 (False Positives with unions)
|
2010-09-03 08:10:29 +02:00 |
Daniel Marjamäki
|
fb4fce466e
|
Fixed #2014 (False positive with longjmp)
|
2010-09-03 07:18:01 +02:00 |
Robert Reif
|
b5276ce9e5
|
Symbol database: Added todo testcase for better namespace handling. Ticket: #1895
|
2010-09-03 06:17:34 +02:00 |
Daniel Marjamäki
|
427c0f4bfd
|
Fixed #1975 (segmentation fault of cppcheck)
|
2010-09-02 23:01:12 +02:00 |
Daniel Marjamäki
|
190a0040b7
|
Null pointer: Fixed false positive
|
2010-09-02 21:08:58 +02:00 |
Daniel Marjamäki
|
01b05618e5
|
Tokenizer: Fixed Cppcheck warnings
|
2010-09-02 20:51:01 +02:00 |
Robert Reif
|
80fdf1ca51
|
Symbol database: Fixed false negatives for unused private functions. Ticket: #1895
|
2010-09-02 19:22:54 +02:00 |
Robert Reif
|
fbffaade2e
|
Fixed #2011 (Parser error in template function)
|
2010-09-02 19:09:06 +02:00 |