Daniel Marjamäki
|
41e4194573
|
Tokenizer: set links for <> in 'a=new b<c>;' code
|
2013-12-29 15:37:27 +01:00 |
Daniel Marjamäki
|
596b4bd405
|
astyle formatting
|
2013-12-23 12:26:12 +01:00 |
Simon Martin
|
02dc49624d
|
Ticket #5214: Don't read out of bounds upon invalid ternary operator.
|
2013-12-22 18:13:52 +01:00 |
Daniel Marjamäki
|
e2bc99aa24
|
Fixed #5154 (Tokenizer: wrong handling of msvc 'for each')
|
2013-12-17 06:34:27 +01:00 |
Daniel Marjamäki
|
762806499f
|
Fixed #5182 (Tokenizer::simplifyEnum: template function call as enum value)
|
2013-12-16 07:07:00 +01:00 |
Daniel Marjamäki
|
7938692b01
|
Fixed #5212 (Tokenizer::simplifyEnum bad simplification of enum value (1<<0)|(1<<1))
|
2013-12-15 07:47:04 +01:00 |
Daniel Marjamäki
|
f599e3184c
|
Fixed #5174 (Tokenizer: member function 'abort' returns)
|
2013-12-14 11:12:48 +01:00 |
Daniel Marjamäki
|
5ba02d2fdd
|
AST: Always use AST
|
2013-12-09 18:06:19 +01:00 |
Daniel Marjamäki
|
0c5282b1af
|
Fixed #5081 (False positive: (error) Uninitialized variable: f (handling of C-cast not correct))
|
2013-11-28 16:04:47 +01:00 |
Alexander Mai
|
38b2f6b9b0
|
Fixed #5168 (segmentation fault (invalid code) in Tokenizer::simplifyVarDecl)
|
2013-11-24 11:07:11 +01:00 |
Simon Martin
|
9817da00ec
|
Ticket #5168: Don't crash when simplifying bit-fields for invalid code.
|
2013-11-23 20:33:03 +01:00 |
orbitcowboy
|
b74db1b791
|
Tokenize:simplifyFloatCast(): added corresponding suffix, incase of type 'float'.
|
2013-11-20 23:58:43 -08:00 |
Daniel Marjamäki
|
ef108c49ec
|
Tokenizer: simplify enums better. add parentheses to enforce operator precedence.
|
2013-11-20 18:04:28 +01:00 |
Daniel Marjamäki
|
47b98470eb
|
Tokenizer: Simplify float casts of integer constants
|
2013-11-19 18:07:12 +01:00 |
Daniel Marjamäki
|
2a640a59c2
|
Tokenizer: Improved handling of pointer aliases. This fixes some false negatives.
|
2013-11-16 17:30:04 +01:00 |
Daniel Marjamäki
|
30720affd6
|
Tokenizer::setVarId: Fixed hang when checking libgc
|
2013-11-15 16:16:22 +01:00 |
Daniel Marjamäki
|
7fe51eb58b
|
Fixed #4989 (False positive: Wrong processing of __asm block)
|
2013-11-13 06:04:00 +01:00 |
Martin Ettl
|
347e1eae20
|
Fixed #5162: Tokenizer:simplifyInitVar: Unused pointer value (UNUSED_VALUE) returned_pointer: Pointer tok2 returned by tok2->next() is never used (CID 1124084).
|
2013-11-10 00:40:42 +01:00 |
Daniel Marjamäki
|
b0ce42565e
|
AST: Added experimental new implementations for CheckAssignIf::comparison, CheckOther::checkIncorrectLogicOperator and CheckOther::checkDuplicateExpression
|
2013-11-07 14:38:08 +01:00 |
orbitcowboy
|
929cda6696
|
fixed #5141: Tokenizer: Dereference before null check (Scan.coverity id 1061759)
|
2013-11-04 03:53:23 -08:00 |
Daniel Marjamki
|
bcc8384a95
|
Fixed #5145 (False Positive: Variable 'A' hides enumerator with same name)
|
2013-11-03 09:34:48 +01:00 |
Daniel Marjamäki
|
5f0cfa0ee4
|
Fixed #4983 (False positive warning 'Possible null pointer dereference: lblList - otherwise it is redundant to check it against null.' with sizeof lblList[0])
|
2013-11-02 23:56:10 +01:00 |
Daniel Marjamäki
|
bbdfd8b5c7
|
Make it possible to create AST, by using the --ast flag
|
2013-11-02 18:37:35 +01:00 |
Daniel Marjamäki
|
f0a621a952
|
Tokenizer: Added MAXTIME so cppcheck can be compiled with a hard max time. Will be used for the daca2.
|
2013-11-02 17:31:14 +01:00 |
Daniel Marjamäki
|
d3bd373798
|
Fixed #5131 (False Positive: %u in format string requires 'unsigned int' but the argument type is 'int'.)
|
2013-10-31 17:20:00 +01:00 |
Simon Martin
|
d67722ebdf
|
Ticket #5121: Handle comma separated static variable declarations depending on one another
|
2013-10-30 15:48:00 +01:00 |
orbitcowboy
|
30984ff649
|
Tokenize: improved const correctness of local variables, no functional change.
|
2013-10-25 01:34:53 -07:00 |
orbitcowboy
|
76e092428a
|
Tokenize: improved const correctness of local variables, no functional change.
|
2013-10-25 01:31:55 -07:00 |
Daniel Marjamäki
|
5d7e0aebf4
|
Fixed #5084 (False positive: (style) Same expression on both sides of '&&')
|
2013-10-19 18:04:53 +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 |
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 |
orbitcowboy
|
6eaa2f2444
|
Tokenizer:simplifyMathFunctions: added support for acos[f|l] functions.
|
2013-10-09 07:59:32 -07:00 |
Martin Ettl
|
f08325284c
|
Tokenizer:simplifyMathFunctions: added support for acosh[f|l]() functions.
|
2013-10-07 22:10:58 +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
|
9cfc1030cd
|
Tokenizer: Optimised loop
|
2013-10-06 07:46:35 +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
|
022e7a0f0f
|
CheckIO: Fix INT_PTR false positive found while checking mpc-hc. Ticket: #5057
|
2013-10-02 04:19:04 +02:00 |
Martin Ettl
|
fa5ee8fd13
|
Tokenizer: simplifyMathFunctions: added more simplifications for exp(), exp2() and log2() functions.
|
2013-10-01 20:30:59 +02: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 |
Robert Reif
|
c37c6617d3
|
Fixed #5057 (Microsoft secure printf/scanf support.)
|
2013-09-30 19:55:21 +02:00 |
Daniel Marjamäki
|
f96a88ec57
|
Fixed #5054 (debug warnings when Variable::typeStartToken() or Variable::typeEndTypen() is not set correctly)
|
2013-09-29 16:01:22 +02:00 |