Daniel Marjamäki
|
a50e5c2c23
|
Merge pull request #195 from simartin/ticket_5139
Ticket #5139: Properly handle recursive macro definitions
|
2013-11-02 11:21:13 -07:00 |
Daniel Marjamäki
|
c505f5ea23
|
Fixed AST problem for 'if ((a.b&c)==d){}'
|
2013-11-02 19:18:58 +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 |
Simon Martin
|
95c08d5613
|
Ticket #5139: Properly simplify recursive macro definitions
|
2013-11-01 16:47:22 +01:00 |
Martin Ettl
|
5f89777182
|
testoptions: reverted commit 184db3900e
|
2013-11-01 01:28:05 +01:00 |
Martin Ettl
|
63d9fd4210
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2013-10-29 01:48:58 +01:00 |
Daniel Marjamäki
|
e446a28b3d
|
Refactoring FileLister and Path so they don't depend on Library
|
2013-10-31 19:09:01 +01:00 |
Martin Ettl
|
184db3900e
|
testoptions: fixed buffer access out of bounds issue. The ctor of options requires an array of at least two elements, but.
|
2013-10-29 01:48:30 +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 |
Daniel Marjamäki
|
352c459e28
|
Merge pull request #194 from simartin/ticket_5121
Ticket #5121: Handle static variable declarations depending on one another
|
2013-10-30 22:09:44 -07:00 |
Alexander Mai
|
14787cde99
|
Fixed #5129 (FP:arithOperationsOnVoidPointer on void**)
|
2013-10-31 06:04:51 +01:00 |
Daniel Marjamäki
|
06c5bd0daa
|
Fixed #5128 (False positive zerodivcond 'a ? 1 / a : 0')
|
2013-10-30 16:51: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 |
Simon Martin
|
463ef2e71e
|
Ticket #5120: New test case, that works now that #5125 is fixed
|
2013-10-30 10:15:03 +01:00 |
Simon Martin
|
052be76635
|
Ticket #5125: Avoid infinite recursion for recursive class definitions
|
2013-10-29 21:41:47 +01:00 |
orbitcowboy
|
097510c4ef
|
Tokenizer:simplifyMathFunctions_fma: added a todo testcase.
|
2013-10-29 09:26:26 -07:00 |
Daniel Marjamäki
|
5c072993e3
|
CheckBool: Fixed false negative when assigning bool to pointer '; s.p = true; '
|
2013-10-29 16:16:52 +01:00 |
orbitcowboy
|
e8fdf4cdd2
|
Tokenizer:simplifyMathExpressions: added more testcases.
|
2013-10-24 21:33:00 -07:00 |
PKEuS
|
bd752cabcf
|
Let TinyXML2 handle fopen/fclose. Added testlibrary.cpp to VS10 solution
|
2013-10-27 17:32:38 +01:00 |
Daniel Marjamäki
|
569a29bc4a
|
Library: Added simple testing
|
2013-10-27 17:10:43 +01:00 |
Robert Reif
|
94187c41c2
|
Fixed #5104 (False positive: Invalid argument in printf and scanf for vector template)
|
2013-10-27 10:48:49 +01:00 |
Daniel Marjamäki
|
4a6274dcc0
|
Merge pull request #183 from felipensp/null_ptr_typeof
- Fixed false positive when passing pointer to typeof()
|
2013-10-27 02:37:31 -07:00 |
Daniel Marjamäki
|
ec3ab74631
|
Preprocessor: Use set instead of list to track '#pragma once' usage
|
2013-10-27 10:33:37 +01:00 |
Daniel Marjamäki
|
51ad9ab6ac
|
Fixed #4896 (FP Uninitialized variable on template function)
|
2013-10-26 18:39:40 +02:00 |
Daniel Marjamäki
|
8687e85e56
|
Fixed #4850 (False positive: invalidIterator1 detected when iterator container is member of some struct)
|
2013-10-26 17:48:20 +02:00 |
Daniel Marjamäki
|
853d9dd7a9
|
Fixed #4956 (false positive: Variable 'myIsFirst' is assigned a value that is never used.)
|
2013-10-26 15:22:28 +02:00 |
XhmikosR
|
32e2a5b879
|
test/testother.cpp: Fix a C4800 MSVC warning.
|
2013-10-25 18:14:16 +03:00 |
Daniel Marjamäki
|
364757e1e1
|
Fixed #5089 ('inconclusive' output printed although --inconclusive not specified)
|
2013-10-23 06:42:52 +02:00 |
Daniel Marjamäki
|
d1b03d9c31
|
Fixed false positive for 'object is destroyed immediately' when there is no code after the object
|
2013-10-22 19:37:11 +02:00 |
Daniel Marjamäki
|
a55056c770
|
Fixed #5105 (false positive: (warning) Either the condition 'b!=0' is useless or there is division by zero)
|
2013-10-22 16:18:42 +02:00 |
Daniel Marjamäki
|
fd0f2d7900
|
Fixed #4929 (False positive: possible null pointer deref (checks dont handle && and || well))
|
2013-10-22 10:47:48 +02:00 |
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 |
Felipe Pena
|
ecb0e70250
|
- Fixed false positive when passing pointer to typeof()
|
2013-10-12 10:19:15 -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 |
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 |
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 |