Ettl Martin
|
a56f6d276a
|
fixed warning from cppcheck: [lib/checkbufferoverrun.h:129]: (style) 'operator=' should not return a const reference
|
2010-09-15 22:25:12 +02:00 |
Daniel Marjamäki
|
ebf13acfbd
|
Fixed #2032 (inline suppressions fail with comment on the same line as function)
|
2010-09-15 21:10:54 +02:00 |
Daniel Marjamäki
|
de3b9f610a
|
Fixed #2033 (all inline suppressions fail with relative paths)
|
2010-09-15 21:03:21 +02:00 |
Daniel Marjamäki
|
7e67bb53b8
|
Fixed #2049 (False negative: 'Uninitialized variable' error won't show)
|
2010-09-15 20:04:50 +02:00 |
Daniel Marjamäki
|
416f093fc3
|
Tokenizer: fixed variable declaration simplification
|
2010-09-15 19:53:47 +02:00 |
Daniel Marjamäki
|
38b35feaa8
|
Tokenizer: the 'failed to parse typedef' messages should not be shown unless --debug-warnings are given
|
2010-09-14 20:59:09 +02:00 |
Daniel Marjamäki
|
42d0ad8262
|
Fixed #2048 (Preprocessor: ifndef incorrectly simplified)
|
2010-09-14 17:45:37 +02:00 |
Robert Reif
|
f2a3267ac7
|
Preprocessor: Report #error configuration when -D is used. Ticket: #2042
|
2010-09-14 07:21:19 +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 |
Daniel Marjamäki
|
b1d74ed6b8
|
Revert "Preprocessor: Report #error configuration when -D is used. Ticket: #2042"
This reverts commit 674644cb29 .
|
2010-09-13 16:59:43 +02:00 |
Robert Reif
|
674644cb29
|
Preprocessor: Report #error configuration when -D is used. Ticket: #2042
|
2010-09-13 16:55: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
|
0a30aba2e6
|
Memory leaks: insert ';' in the simplifycode to split up the commands
|
2010-09-12 21:04:05 +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
|
424fe064cb
|
Memory leaks: don't write debug warning for '; alloc ; dealloc ; return ; }'
|
2010-09-11 21:14:20 +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 |
Robert Reif
|
5a6eff90d1
|
Symbol database: Refactoring. ticket: #1895
|
2010-09-10 07:02:49 +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
|
6d35396720
|
Symbol database: refactoring - differentiate between member data initialization and assignment and save the order of variable declarations. makes it possible to create some additional checks. ticket: #1895
|
2010-09-09 07:26:40 +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 |
Robert Reif
|
2fc2859b68
|
Fixed #2035 (Enum 'qboolean' hides typedef with same name)
|
2010-09-08 06:45:57 +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
|
d0423ff8ac
|
Set encoding to UTF-8 for some files.
|
2010-09-06 22:39:02 +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
|
e800490b50
|
Add back <stdexcept> as GCC requires it.
I removed <stdexcept> after checking it builds with VS 2008. But Dan
pointed out GCC needs that header.
|
2010-09-06 22:00:56 +03:00 |
Kimmo Varis
|
3551ce8b58
|
Remove unneeded includes.
|
2010-09-06 21:08:50 +03:00 |
Robert Reif
|
28c5893ee0
|
const functions: fixed false negatives for the type P. ticket: #1884
|
2010-09-06 19:04:14 +02: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
|
120b6b9133
|
Remove unused function.
I forgot to remove the function that was used in command line
parsing code.
|
2010-09-05 11:24:01 +03:00 |
Kimmo Varis
|
45eaebe423
|
Move CLI command line parsing to own class.
|
2010-09-05 11:17:31 +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 |