Sam Truscott
|
6806fd8135
|
Extended Qt support through Library
|
2013-10-20 14:09:10 +02:00 |
Daniel Marjamäki
|
fc26de89a9
|
Fixed #5082 (False positive: (error) Possible null pointer dereference: p2)
|
2013-10-20 13:37:36 +02:00 |
Daniel Marjamäki
|
5d7e0aebf4
|
Fixed #5084 (False positive: (style) Same expression on both sides of '&&')
|
2013-10-19 18:04:53 +02:00 |
Daniel Marjamäki
|
6aa03efa2f
|
Fixed #5103 (Don't show 'The scope of the variable can be reduced' if there is no explicit block with { })
|
2013-10-19 17:27:02 +02:00 |
Daniel Marjamäki
|
f8710cb984
|
Fixed #5102 (Crash if -D is used when scanning simple preprocessor code.)
|
2013-10-18 06:47:55 +02:00 |
Robert Reif
|
b41ab8a4d5
|
Fixed #5088 (Token::Match called with varid 0. in libreoffice sd/source/ui/table/TableDesignPane.cxx)
|
2013-10-14 21:05:54 +02:00 |
orbitcowboy
|
9debeab47c
|
Tokenizer:simplifyMathExpressions: fixed false negative patterns for simplification.
|
2013-10-11 11:58:37 -07:00 |
Daniel Marjamäki
|
bb0385321f
|
Fixed #5074 (False positive: Duplicate expression (macro))
|
2013-10-13 17:42:06 +02:00 |
Martin Ettl
|
a674ed1aa9
|
Tokenizer:simplifyMathFunction: added simplifcation for fma[f|l]() functions.
|
2013-10-13 16:28:02 +02:00 |
Martin Ettl
|
e18ebf313f
|
Tokenizer:simplifyMathFunctions: added support for more math functions.
|
2013-10-13 15:41:47 +02:00 |
Martin Ettl
|
cdb47813d5
|
Tokenizer:simplifyMathFunctions: added support for cosh[f|l], cos[f|l] and erfc[f|l] functions.
|
2013-10-13 14:23:10 +02:00 |
Felipe Pena
|
c37ba4cbcf
|
- Fixed false positive when using typeof/__alignof__
|
2013-10-12 13:46:14 -03:00 |
Robert Reif
|
1fccfd50eb
|
Fixed #5080 ((error) Internal error. Token::Match called with varid 0. Please report this to Cppcheck developers)
|
2013-10-12 10:50:59 +02:00 |
Daniel Marjamäki
|
783bb6eb0b
|
Test that there is no segfault in CheckOther::checkZeroDivisionOrUselessCondition when the SymbolDatabase is invalid. Ticket: #5045
|
2013-10-10 22:23:52 +02:00 |
orbitcowboy
|
6eaa2f2444
|
Tokenizer:simplifyMathFunctions: added support for acos[f|l] functions.
|
2013-10-09 07:59:32 -07:00 |
orbitcowboy
|
58c09f80b6
|
Testother: split up a large testfunction, no functional change.
|
2013-10-09 07:48:46 -07:00 |
Daniel Marjamäki
|
682e68b1b6
|
Fixed #5077 (False positive: Comparison of boolean result with relational operator ((X + (Y < 0)) <= b))
|
2013-10-09 05:43:50 +02:00 |
Martin Ettl
|
f08325284c
|
Tokenizer:simplifyMathFunctions: added support for acosh[f|l]() functions.
|
2013-10-07 22:10:58 +02:00 |
Daniel Marjamäki
|
9ce7efc6e4
|
commaSeparatedReturn: made checking experimental for now because there are false positives (#5076)
|
2013-10-08 18:05:07 +02:00 |
orbitcowboy
|
90b2c5ddce
|
testtokenize: split up large testcases for simplifying math functions.
|
2013-10-08 07:05:05 -07:00 |
Daniel Marjamäki
|
4f88fdcf4a
|
Check64Bit: Fixed false positive about returning integer for 'p+(n*80)'
|
2013-10-08 06:36:45 +02:00 |
Robert Reif
|
1959377423
|
Fixed #4963 (cppcheck and testrunner Visual Studio 2008 build failure)
|
2013-10-08 05:36:52 +02:00 |
Daniel Marjamäki
|
f9cf148012
|
CheckBool: Skip 'bool' type checking in C code
|
2013-10-07 18:41:07 +02:00 |
Daniel Marjamäki
|
b81de5494e
|
CheckBool: Fixed false positive for calculation using bool result in rhs
|
2013-10-07 18:01:08 +02:00 |
Daniel Marjamäki
|
d2025363d0
|
CheckBool: Fix false positive for '(a != boolexpr || c)' if a is a int
|
2013-10-07 17:44:19 +02:00 |
Daniel Marjamäki
|
83f9503839
|
CheckBool: Fixed false positives for non-bool expressions that contain ! operator
|
2013-10-07 16:37:51 +02:00 |
Daniel Marjamäki
|
023d0e7cb8
|
Fixed #5072 (False positive: comparisonOfBoolWithInvalidComparator even without explicit bool type)
|
2013-10-07 16:16:07 +02:00 |
Daniel Marjamäki
|
4cd0108b93
|
Fixed #4976 (False positive: (style) A pointer can not be negative (git/sha1_file.c))
|
2013-10-06 16:52:27 +02:00 |
Daniel Marjamäki
|
0ef1529ba5
|
Fixed #5005 (false positive: (warning) Assignment of function parameter has no effect outside the function.)
|
2013-10-06 16:07:27 +02:00 |
Daniel Marjamäki
|
1234ec95f0
|
Fixed #4998 (False positive: Address of local auto-variable assigned to a function parameter)
|
2013-10-06 14:23:26 +02:00 |
Daniel Marjamäki
|
9f23b7a1b4
|
Fixed #5063 (False positive for comparisonOfBoolWithInvalidComparator)
|
2013-10-06 10:39:08 +02:00 |
Daniel Marjamäki
|
c234cace6d
|
Fixed #5064 (Tokenizer::simplifySizeof: Doesn't simplify 'sizeof !! (a==1);' properly)
|
2013-10-06 08:20:10 +02:00 |
Daniel Marjamäki
|
946722faf0
|
Fixed #4968 (False positive: Structure with 'read' member is confused with read() function.)
|
2013-10-05 18:25:44 +02:00 |
Robert Reif
|
7098fc6039
|
CheckIO: fixed handling of unknown types. Ticket #5051
|
2013-10-05 16:47:06 +02:00 |
Daniel Marjamäki
|
6830d5f7a4
|
Fixed #5042 (false positive: Redundant code (set filled in initialization list))
|
2013-10-05 12:26:09 +02:00 |
Daniel Marjamäki
|
f2fdd967f5
|
Fixed #5046 (False positive: Boolean value assigned to pointer)
|
2013-10-05 08:53:37 +02:00 |
Daniel Marjamäki
|
348f3fa97f
|
Fixed #5058 (False positive: (warning) Comparison of a boolean expression with an integer.)
|
2013-10-05 08:33:33 +02:00 |
Robert Reif
|
5dbc02250f
|
This patch adds pointer to format string support to printf. Ticket: #5051
|
2013-10-05 07:47:52 +02:00 |
Robert Reif
|
44559a1fb2
|
Fixed #5069 (sizeof(void) when variable name is override)
|
2013-10-05 07:40:59 +02:00 |
Robert Reif
|
6c06cdd24d
|
CheckIO fixes. Ticket: #5051
|
2013-10-04 17:30:55 +02:00 |
Martin Ettl
|
a8cf8f0984
|
Tokenizer:simplifyMathFunctions: fixed false positives when simplifying special pow() cases.
|
2013-10-03 22:54:45 +02:00 |
Martin Ettl
|
f8bd33f2bc
|
Tokenizer:simplifyMathFunctions: added support for log()-functions. Improved testcases and documentation. The function simplifyMathFunctions() returns now true in case a simplifcation is made. This function is called within a while loop to guarantee all simplifications are made.
|
2013-10-03 20:52:07 +02:00 |
Martin Ettl
|
548e2f3fbf
|
Tokenizer:simplifyMathExpression: fixed false negatives in simplifying Pythagorean and Hyperbolic identities.
|
2013-10-03 15:41:12 +02:00 |
Robert Reif
|
59de30823e
|
CheckIO: This patch adds support for fprintf_s, fscanf_s and %I. Ticket: #5051
|
2013-10-03 06:37:40 +02:00 |
Robert Reif
|
5aba841499
|
CheckIO: Handling of casts (#4964)
|
2013-10-02 04:12:46 +02:00 |
Martin Ettl
|
fa5ee8fd13
|
Tokenizer: simplifyMathFunctions: added more simplifications for exp(), exp2() and log2() functions.
|
2013-10-01 20:30:59 +02:00 |
orbitcowboy
|
b6d7e797a2
|
Testtoken:matchNumeric(): extended testing about some missing testcases.
|
2013-09-30 15:55:36 -07:00 |
orbitcowboy
|
5a158987ce
|
Added todo testcase for false positive: Comparison of boolean with expression with an integer.
|
2013-09-30 11:21:28 -07:00 |
Robert Reif
|
cc6745fef6
|
CheckIO: Fixed false positives when using _snprintf_s and _snwprintf_s. Ticket: #5057
|
2013-10-01 05:49:44 +02:00 |
Martin Ettl
|
f0cbeb5233
|
simplifyMathFunctions: added support for exp(),sqrt(),cbrt() functions.
|
2013-09-29 18:11:17 +02:00 |