chrchr-github
|
e54ad24d2c
|
Fix #10870 FN constStatement with arrays (#3904)
|
2022-03-25 11:32:16 +01:00 |
chrchr-github
|
39567ea8c8
|
Fix #8541 FP variableScope (std::for_each with lambda) (#3924)
|
2022-03-22 21:50:46 +01:00 |
Paul Fultz II
|
0b310b9d07
|
Fix 10702: FP knownConditionTrueFalse - Member variable modified (#3857)
* Fix 10702: FP knownConditionTrueFalse - Member variable modified
* Format
* Make parameter const
* Fix FP
* Fix FP
* Update
* Format
|
2022-02-28 18:54:55 +01:00 |
Paul Fultz II
|
45de9a7d08
|
Refactor: Use getEndOfExprScope instead of getEndOfVarScope (#3855)
|
2022-02-24 06:50:34 +01:00 |
Oliver Stöneberg
|
75b6e8d258
|
inline visitAstNodes() calls (#3828)
|
2022-02-13 20:46:01 +01:00 |
chrchr-github
|
0a99e3b6fc
|
Partial fix for #9407 FN redundant assignment/unreadVariable (#3651)
|
2022-02-12 15:32:08 +01:00 |
Oliver Stöneberg
|
6e57cc4323
|
small utils.h cleanup (#3821)
|
2022-02-11 19:44:08 +01:00 |
Paul Fultz II
|
260d155bb6
|
Fix 10785: False positive: constParameter when using member pointer (#3807)
|
2022-02-07 18:45:32 +01:00 |
Daniel Marjamäki
|
3989408738
|
Update copyright year
|
2022-02-05 11:45:17 +01:00 |
chrchr-github
|
a20465eaea
|
Fix #10484 FP knownConditionTrueFalse with static variable and direct initialization / partial fix for #10248 (#3728)
|
2022-02-02 22:30:49 +01:00 |
Oliver Stöneberg
|
171da2e6f9
|
avoid dependency on transitive includes - based on include-what-you-use (#3757)
|
2022-01-27 19:03:20 +01:00 |
chrchr-github
|
d05e43ce15
|
Fix #9828 False positive: unreadVariable alias (#3744)
|
2022-01-24 21:52:45 +01:00 |
Oliver Stöneberg
|
8179226b18
|
astutils.cpp: optimized visitAstNodesGeneric() a bit more by avoiding unnecessary checks and std::stack usage (#3732)
|
2022-01-24 21:44:09 +01:00 |
chrchr-github
|
4d44d0c079
|
Fix #9781 FP deallocuse after auto_ptr (#3724)
|
2022-01-19 21:39:45 +01:00 |
Oliver Stöneberg
|
2148b8b165
|
astutils.cpp: optimized visitAstNodesGeneric() a bit (#3716)
|
2022-01-17 20:34:35 +01:00 |
Paul Fultz II
|
89bc226738
|
Fix 10718: Crash in CheckOther::checkDuplicateExpression (#3713)
|
2022-01-16 12:34:20 +01:00 |
Armin Müller
|
5a05631c84
|
Typos found by running "codespell" (#3702)
|
2022-01-13 17:24:26 +01:00 |
Oliver Stöneberg
|
0ba9cb4e64
|
fixed some unusedFunction warnings (#3618)
|
2022-01-04 15:48:08 +01:00 |
Paul Fultz II
|
119ec0582a
|
Fix 10676: FP: Array index -1 is out of bounds. (#3670)
|
2022-01-04 10:21:54 +01:00 |
Paul Fultz II
|
01a8890d6d
|
Fix 9760: False positive: constParameter on parameter used to take non-const pointer via array decaying (#3660)
|
2022-01-02 08:15:38 +01:00 |
Paul Fultz II
|
71a44395c8
|
Fix 10659: FP knownConditionTrueFalse - C++17 structured binding (#3662)
|
2022-01-02 08:14:50 +01:00 |
KenPatrickLehrmann
|
af289c8357
|
Handle (&foo)-> in isVariableChanged (#3624)
|
2022-01-02 08:14:10 +01:00 |
chrchr-github
|
922e27de4c
|
Fix #7754 FP Same expression on both sides of '||' (#3635)
|
2021-12-31 08:24:05 +01:00 |
Paul Fultz II
|
d36aa590cd
|
Fix 10553: FP uninitvar with strcpy (#3652)
|
2021-12-23 08:22:41 +01:00 |
chrchr-github
|
e8260f2dcc
|
Improve fix for #9570: check if ternary operator is used in assignment to reference (#3614)
|
2021-12-16 22:32:15 +01:00 |
Oliver Stöneberg
|
ba402f3e50
|
cleaned up includes based on include-what-you-use (#3627)
|
2021-12-15 19:47:27 +01:00 |
Oliver Stöneberg
|
54b54567cf
|
astutils.cpp: optimized isSameExpression() a bit - reduces average Ir from 294 to 213 when analyzing test folder (#3528)
|
2021-12-11 15:10:15 +01:00 |
chrchr-github
|
f64097465f
|
Fix #9342 FP oppositeExpression - negated value is not opposite for bitwise logical operators (#3615)
|
2021-12-10 18:06:45 +01:00 |
chrchr-github
|
33c55f77a8
|
Fix #9570 (#3608)
|
2021-12-07 07:44:07 +01:00 |
Paul Fultz II
|
12e731ad49
|
Fix 10605: FP containerOutOfBounds with empty() check (#3572)
|
2021-11-25 22:34:00 +01:00 |
Paul Fultz II
|
a0d3c2c719
|
Handle for loop conditions in afterCondition (#3561)
|
2021-11-14 18:30:36 +01:00 |
Paul Fultz II
|
13f5b560ce
|
Fix 10555: FP knownConditionTrueFalse with non-const function in base class (#3559)
|
2021-11-12 20:05:43 +01:00 |
Paul Fultz II
|
c057dcce0f
|
Fix 10592: False positive: returnDanglingLifetime (#3557)
|
2021-11-11 08:00:05 +01:00 |
Paul Fultz II
|
035c70c441
|
Fix 10578: Value not impossible after check (#3549)
|
2021-11-07 18:19:56 +01:00 |
Paul Fultz II
|
a50596df72
|
Fix 10582: ValueFlow; wrong known value (#3550)
|
2021-11-07 06:51:51 +01:00 |
Paul Fultz II
|
d3f0aa5b34
|
Fix 10033: false negative: danglingTemporaryLifetime with usage of reference from nested object not detected (#3542)
|
2021-11-01 19:23:15 +01:00 |
Paul Fultz II
|
8c9c46835a
|
Fix for 6597: false negative: uninitialized variable usage not detected (ValueFlow , multi variables) (#3535)
|
2021-10-30 22:13:58 +02:00 |
Daniel Marjamäki
|
1f01845efb
|
Fixed #10531 (FP unreadVariable with reference and *=)
|
2021-10-25 19:34:19 +02:00 |
Paul Fultz II
|
48fc70b810
|
Dont stop analysis when an unrelated class variable is changed (#3518)
|
2021-10-23 14:47:10 +02:00 |
Paul Fultz II
|
876702c4f2
|
Fix 10098: false negative: 'Reference to temporary returned.' not detected with class (#3509)
|
2021-10-15 10:59:40 +02:00 |
Paul Fultz II
|
89515600e4
|
Fix 10538: FN: nullPointer (std::swap pointers) (#3504)
|
2021-10-15 10:58:16 +02:00 |
Paul Fultz II
|
130d1abbce
|
Fix 10210: FN: nullPointerRedundantCheck regression in member function (#3512)
|
2021-10-15 10:57:40 +02:00 |
Paul Fultz II
|
3cb252bd99
|
Fix 9873: False negative: null pointer when checking raw pointer (#3485)
|
2021-10-06 08:39:58 +02:00 |
chrchr-github
|
f3e1f0d41b
|
Fix #10238: char* confused with char (#3484)
|
2021-10-05 18:04:48 +02:00 |
Paul Fultz II
|
8668d445c7
|
Add support for string_view (#3480)
|
2021-10-05 08:28:19 +02:00 |
Paul Fultz II
|
71809044bd
|
Fix 10522: FP: derefInvalidIterator when using emplace with 1 argument (#3482)
|
2021-10-05 08:23:47 +02:00 |
chrchr-github
|
428144c53c
|
Fix #10513: vector constructed from pointers (#3473)
|
2021-10-04 07:55:17 +02:00 |
Daniel Marjamäki
|
f3d9755e65
|
UninitVar: too many warnings (pointer dereference)
|
2021-10-03 18:12:29 +02:00 |
chrchr-github
|
609e20d9d8
|
ValueFlow: string can be constructed from init list (#3459)
|
2021-10-02 23:09:49 +02:00 |
chrchr-github
|
0c16e346f1
|
Minor: add endsWith() template, empy() check (#3472)
|
2021-09-28 20:34:21 +02:00 |