Matthias Krüger
|
6f1e7e897d
|
simplify if(tok && Token::{simple,}Match) to if(Token::{simple,}Match).
|
2017-02-06 15:37:12 +01:00 |
Simon Martin
|
0943b2145b
|
Ticket #7891: Do not remove spaces in the internal representation for template instantiations.
|
2017-02-05 17:35:29 +01:00 |
Matthias Krüger
|
92d9e810f3
|
templatesimplifier: remove redundant assignments inside switchcase. They will always be overwritten by an assignment outside of the switch near the end of the function. Found by clang analyzer.
|
2017-01-30 22:26:54 +01:00 |
Simon Martin
|
5262ed018e
|
Ticket #7440: Function calls should not abort pointer alias analysis for local variables.
|
2017-01-27 22:56:28 +01:00 |
umanamente
|
a012e5b5fb
|
(Fixed #7846) Syntax error when using C++11 braced-initializer in function last argument
Add an optional extended description…
|
2017-01-23 12:50:36 +01:00 |
umanamente
|
2f609c2b9a
|
Added cppcheck.natvis file for human readable debug information in Visual Studio.
Add an optional extended description…
|
2017-01-22 10:21:29 +01:00 |
umanamente
|
0c1ba8e8b4
|
(Fixed #7895) C++11 brace initialization. Added test. (#862)
Add an optional extended description…
|
2017-01-22 10:16:40 +01:00 |
PKEuS
|
3022d74801
|
Do not suggest pass by reference for std::initializer_list
|
2017-01-19 11:14:55 +01:00 |
amai2012
|
722fac391d
|
Merge pull request #858 from simartin/ticket_7820
Ticket #7820: Properly report leaks with conditional deallocations followed by a return.
|
2017-01-18 09:31:49 +01:00 |
Simon Martin
|
9e76b21d7f
|
Ticket #7820: Properly report leaks with conditional deallocations followed by a return.
|
2017-01-17 23:02:39 +01:00 |
orbitcowboy
|
6c71d74563
|
Cleanup: There is no need to clear a string directly after its creation.
|
2017-01-16 20:10:28 +01:00 |
Simon Martin
|
ae939b1385
|
Teach CheckMemoryLeak about "alloc ; loop alloc ;" kinds of patterns. (#861)
Add an optional extended description…
|
2017-01-15 22:16:23 +01:00 |
Simon Martin
|
c82d8a0d06
|
Ticket #7745: Simplify "alloc ; dealloc ;" blocks that we don't have any value for CheckMemoryLeak's analysis. (#860)
Add an optional extended description…
|
2017-01-15 22:14:37 +01:00 |
Daniel Marjamäki
|
47d39d0a14
|
Revert "Fixed #7888 (1.77 false positive from knownConditionTrueFalse with sizeof(int) == sizeof(long))"
This reverts commit a762511067 .
|
2017-01-10 13:22:48 +01:00 |
Daniel Marjamäki
|
7bdd001a5f
|
SymbolDatabase: Removed redundant 'else'
|
2017-01-09 22:48:05 +01:00 |
Daniel Marjamäki
|
b7321e8dde
|
Tokenizer: Rename struct
|
2017-01-09 22:40:30 +01:00 |
Daniel Marjamäki
|
a762511067
|
Fixed #7888 (1.77 false positive from knownConditionTrueFalse with sizeof(int) == sizeof(long))
|
2017-01-09 22:28:55 +01:00 |
Daniel Marjamäki
|
b1f7e46491
|
Fixed #7323 (valueflow: global variables)
|
2017-01-09 15:53:08 +01:00 |
Simon Martin
|
417c7e36c0
|
Ticket #7548: Properly detect the end of template parameter default values during instantiation.
|
2017-01-08 09:38:29 +01:00 |
Matthias Krüger
|
064a4aa4cc
|
improve constness of functions as per cppchecks suggestions.
|
2017-01-07 14:31:03 +01:00 |
Simon Martin
|
bd92ddd386
|
Ticket #7850: Properly handle C functions called "class".
|
2017-01-06 21:16:28 +01:00 |
Robert Reif
|
4123b457d7
|
Fixed #7441 (SymbolDatabase: No scope when function return type not specified)
|
2017-01-06 11:53:17 +01:00 |
Robert Reif
|
139071d88b
|
Fixed #7875 (New check: function declaration and definition argument names don't match)
|
2017-01-05 08:52:11 +01:00 |
PKEuS
|
8ba9ce4924
|
Set version to 1.77.99/1.78 dev
|
2017-01-01 11:58:39 +01:00 |
Daniel Marjamäki
|
a184d5d421
|
SymbolDatabase: Refactoring
|
2017-01-01 11:34:05 +01:00 |
Robert Reif
|
4c25e798b1
|
Fixed #7865 (Tokenizer::createLinks2(): does does set links for <> in struct template)
|
2016-12-31 22:05:29 +01:00 |
Daniel Marjamäki
|
bf5fa90952
|
updated version info
|
2016-12-31 18:35:08 +01:00 |
Simon Martin
|
f43431408b
|
Ticket #7685: Properly handle function calls as argument to a dealloc function. (#853)
Add an optional extended description…
|
2016-12-29 13:17:46 +01:00 |
orbitcowboy
|
24332b540d
|
There is no need to clear a class member string in the Ctor.
|
2016-12-27 21:20:17 +01:00 |
Daniel Marjamäki
|
85ae3adeb2
|
Fixed #5144 (FP old memleak - tree structure)
|
2016-12-27 08:12:37 +01:00 |
Daniel Marjamäki
|
1b21767954
|
Fixed #5666 (False positive when modifiying std::string by pointer)
|
2016-12-26 17:13:35 +01:00 |
Daniel Marjamäki
|
7e7aa21029
|
astyle formatting
[ci skip]
|
2016-12-26 14:14:48 +01:00 |
Daniel Marjamäki
|
770abcf453
|
Fixed #5398 (False positive: Scope of variable can be reduced does not account for other variables not reduceable)
|
2016-12-26 14:14:40 +01:00 |
Daniel Marjamäki
|
c8bc1c8f0e
|
Merge pull request #852 from boos/cwe-mapping-16
CWE mapping of accessMoved, accessForwarded, nullPointerArithmeticRedundantCheck, nullPointerArithmetic
|
2016-12-25 22:45:08 +01:00 |
Daniel Marjamäki
|
c8a450c9be
|
uninitvar: Fixed a FP seen in daca2
|
2016-12-25 22:43:29 +01:00 |
Roberto Martelloni
|
04f24b4220
|
CWE mapping of accessMoved, accessForwarded, nullPointerArithmeticRedundantCheck, nullPointerArithmetic
|
2016-12-24 23:07:37 +00:00 |
PKEuS
|
ea53bd22b7
|
Fixed false positive returnTempReference with operator++ (#7874)
|
2016-12-22 11:49:59 +01:00 |
Daniel Marjamäki
|
2ce4811998
|
astyle formatting
[ci skip]
|
2016-12-22 09:40:39 +01:00 |
Daniel Marjamäki
|
df6ae9f3b4
|
Fixed #7847 (Can't detect shift negative values when some op is executed)
|
2016-12-22 09:40:19 +01:00 |
Daniel Marjamäki
|
d79688c40b
|
Fixed #7822 (False positive for uninitialized variable if array type is used)
|
2016-12-21 23:11:11 +01:00 |
Daniel Marjamäki
|
28af5c0379
|
Integer Overflow: Don't warn about left-shift expressions with negative result like '1<<31'. That is common practice.
|
2016-12-21 18:19:59 +01:00 |
Daniel Marjamäki
|
426d1b4196
|
Merge pull request #846 from simartin/ticket_7805
Ticket #7805: Ignore enumerators when simplifying known variables.
|
2016-12-21 17:58:48 +01:00 |
Daniel Marjamäki
|
f40bdddbab
|
ValueFlow: Better handling when casting calculation result
|
2016-12-20 23:09:50 +01:00 |
Daniel Marjamäki
|
f0d91fb74b
|
Fixed #7869 (False positive: Array index out of bounds)
|
2016-12-20 22:01:19 +01:00 |
Daniel Marjamäki
|
44ccbdedec
|
ValueFlow: Improved value for cast
|
2016-12-20 21:37:25 +01:00 |
Daniel Marjamäki
|
606bb78297
|
ValueFlow: Better handling of casts
|
2016-12-20 19:32:21 +01:00 |
Daniel Marjamäki
|
e14e86c103
|
ValueFlow: only set values in conditional code in subfunctions when sure
|
2016-12-20 11:06:20 +01:00 |
Daniel Marjamäki
|
807b653739
|
ValueFlow: Fix FP in for loops when 2nd expression is 0
|
2016-12-20 07:54:38 +01:00 |
Daniel Marjamäki
|
f1ad7368f6
|
ValueFlow: bool values
|
2016-12-19 21:21:18 +01:00 |
Daniel Marjamäki
|
aaf19c1e4f
|
Fixed #7839 (Prefix increment triggers parameter modification warning)
|
2016-12-19 15:25:36 +01:00 |