Daniel Marjamäki
|
30b4eae46d
|
Merge pull request #291 from simartin/ticket_5605
Fix ticket #5605 (take 2)
|
2014-05-03 17:07:11 +02:00 |
Simon Martin
|
ffe6a0be2b
|
Ticket #5605: Don't consider '>' as a default template parameter value. Don't choke on template parameters with erroneous default values.
|
2014-05-03 16:26:14 +02:00 |
Martin Ettl
|
b363d0641a
|
posix.cfg: Fixed FP for getcwd().First and second parameter is allowed to be zero.
|
2014-05-02 04:56:12 +02:00 |
Daniel Marjamäki
|
5a23b739da
|
ValueFlow: Improved bailout when variable is reassigned
|
2014-05-03 12:49:07 +02:00 |
Daniel Marjamäki
|
4b7aaba159
|
AST: assignment operators are executed from right to left
|
2014-05-03 12:08:42 +02:00 |
Alexander Mai
|
d3e8bbdc51
|
#5618 False positive: (performance) Use const reference for 'temp' to avoid unnecessary data copying. - redundantCopyLocalConst/CheckOther::checkRedundantCopy() is prone to false positives. As a quick fix that check becomes inconclusive.
|
2014-05-02 20:09:38 +02:00 |
Daniel Marjamäki
|
935b37da0e
|
Fixed #5515 (Crash on Preferences/Applications)
|
2014-05-02 07:16:10 +02:00 |
Robert Reif
|
7d762ca9f7
|
Made 'unhandled exception' inconclusive and style message. #5751
|
2014-05-02 06:57:23 +02:00 |
Alexander Mai
|
b50900595c
|
#5482 - Cppcheck development with '--std=c++0x' enabled. Specify supported compilers.
|
2014-05-01 20:15:36 +02:00 |
Daniel Marjamäki
|
fadc27092e
|
Fixed #5752 (FP (error) Possible null pointer dereference)
|
2014-05-01 15:15:26 +02:00 |
Daniel Marjamäki
|
45ac1db175
|
GUI: set data dir before translations are loaded, before data dir is set they will not be found.
|
2014-05-01 14:21:17 +02:00 |
Robert Reif
|
f6aaf6cc0d
|
Unhandled exceptions: Dont warn when there are unhandled exceptions in main() function. #5751
|
2014-05-01 13:41:01 +02:00 |
Alexander Mai
|
d2ebd718a9
|
#5691 False positive: autovarInvalidDeallocation - function name 'delete' in C code
|
2014-05-01 07:32:37 +02:00 |
PKEuS
|
ab4f58a146
|
Partially reverted 1317063b21 . enum class is not part of the common subset of supported C++11 functions of the compilers supported by cppcheck. (Fixes #5745)
|
2014-04-30 21:06:01 +02:00 |
PKEuS
|
71264fb672
|
Fixed assertion failure in VS debug mode
|
2014-04-30 21:06:01 +02:00 |
Alexander Mai
|
a25cb53c19
|
#5751 - Warning unhandledExceptionSpecification is issued even if warnings are not enabled
|
2014-04-30 19:33:17 +02:00 |
orbitcowboy
|
e48550d8d7
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2014-04-23 01:24:01 +02:00 |
Alexander Mai
|
4815e3c4c5
|
Fix some segmentation faults seen while reducing #5743 (sorry, no test cases supplied)
|
2014-04-29 20:16:50 +02:00 |
Daniel Marjamäki
|
b5e023a46c
|
Fixed #5472 (sizeof not handled as operator with respect to null pointer dereference)
|
2014-04-29 20:09:11 +02:00 |
Daniel Marjamäki
|
fc24d491cc
|
Fixed #5560 (false positive: C-style pointer casting)
|
2014-04-29 06:21:30 +02:00 |
Daniel Marjamäki
|
648479d909
|
AST: Fixed tree for 'a.b[5]'
|
2014-04-29 06:09:26 +02:00 |
Daniel Marjamäki
|
36895674ce
|
Refactoring. Simplified condition using Token::Match.
|
2014-04-29 04:45:45 +02:00 |
Robert Reif
|
4de9e29adc
|
Fixed #5706 (operators with noexcept broken)
|
2014-04-29 04:37:13 +02:00 |
Daniel Marjamäki
|
1233d8e47f
|
Fixed #5657 (false positive: (error) Possible null pointer dereference: p)
|
2014-04-28 15:54:54 +02:00 |
Daniel Marjamäki
|
3300d39854
|
Fixed #5721 (valueFlowBeforeCondition: stop when goto label is seen)
|
2014-04-28 06:21:48 +02:00 |
Alexander Mai
|
ead3f28e06
|
Small enhancements for doxygen
|
2014-04-27 21:42:10 +02:00 |
Daniel Marjamäki
|
9c74d914d7
|
Fixed #5667 (Tokenizer: simplify 'void (X::*f)()' to 'void *f')
|
2014-04-27 19:49:21 +02:00 |
Alexander Mai
|
ed541ba3b4
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2014-04-27 19:01:30 +02:00 |
Alexander Mai
|
0b26a1f27a
|
Fix compiler warnings
|
2014-04-27 18:56:54 +02:00 |
Alexander Mai
|
9e9bc1e457
|
Since reduce shares object files with cppcheck it should use the same compiler and linker flags
|
2014-04-27 18:56:30 +02:00 |
Daniel Marjamäki
|
d279f3fb41
|
Fixed #5736 (AST: proper handling of 'a=(b).c;')
|
2014-04-27 18:03:50 +02:00 |
Daniel Marjamäki
|
9f2e37da37
|
AST: fixed 'a.b++' and '*c[5]--'
|
2014-04-27 16:02:24 +02:00 |
PKEuS
|
ecec4b0b46
|
Fixed false positive #5187: arithOperationsOnVoidPointerError when referencing void*
|
2014-04-27 12:18:33 +02:00 |
PKEuS
|
866ab1ce14
|
Fixed false positive #5689: Care about usage of return values of memory functions
|
2014-04-27 12:18:33 +02:00 |
PKEuS
|
ea23a0467b
|
Fixed false positive #5732: autovarInvalidDeallocation on pointer to array
|
2014-04-27 12:18:33 +02:00 |
Daniel Marjamäki
|
bde6698bcd
|
Fixed #5731 (False positive with opposite conditions)
|
2014-04-27 10:21:20 +02:00 |
Daniel Marjamäki
|
7317785e32
|
astyle formatting
[ci skip]
|
2014-04-27 10:20:21 +02:00 |
Alexander Mai
|
0b8dcbb441
|
Fix compiler warning about dead code due to disabled tests
|
2014-04-27 09:48:21 +02:00 |
Alexander Mai
|
17ec0af6a7
|
#5734 A FP literalWithCharPtrCompare was issued upon comparison with a char referenced within a string literal
|
2014-04-27 09:40:13 +02:00 |
Alexander Mai
|
520aaf71b8
|
Fix some doxygen comments and add shortcut for tok==NULL to Token::simpleMatch()
|
2014-04-27 09:32:02 +02:00 |
Alexander Mai
|
1317063b21
|
Fix some more (clang++) compiler warnings
|
2014-04-26 20:44:21 +02:00 |
Alexander Mai
|
bf549d8883
|
Update for Makefile
|
2014-04-26 19:20:15 +02:00 |
Robert Reif
|
ca9386859b
|
Tokenizer: replace ') const| {' pattern to detect function start
|
2014-04-26 18:31:56 +02:00 |
Robert Reif
|
cd6332d960
|
Tokenizer: replace ') const| {' pattern to detect function start
|
2014-04-26 18:30:09 +02:00 |
Alexander Mai
|
b5c580a59e
|
Fix some clang warnings - most related to semantic doxygen errors
|
2014-04-26 16:17:26 +02:00 |
Alexander Mai
|
b74e997435
|
Fix false positive nullPointer messages within sqlite3 after goto by adding a suitable bailout inside valueFlowAfterAssign()
|
2014-04-26 14:41:28 +02:00 |
Daniel Marjamäki
|
11856b51aa
|
AST: Fixed handling of 'a=b(c**)+1'
|
2014-04-26 13:32:08 +02:00 |
Daniel Marjamäki
|
c34616a6ba
|
AST: Fixed handling of 'a = b.c[++(d.e)];'
|
2014-04-26 13:16:34 +02:00 |
Frank Zingsheim
|
ffa55bbaa0
|
Fixed #5725 (FP: multicondition Expression is always false because 'else if' in pngwrite.cxx (LibreOffice))
|
2014-04-26 11:59:38 +02:00 |
Daniel Marjamäki
|
853d56030b
|
Fixed #5559 (false positive: (error) Possible null pointer dereference: pSTRunner)
|
2014-04-26 11:27:58 +02:00 |