Commit Graph

25487 Commits

Author SHA1 Message Date
chrchr-github d05e43ce15
Fix False positive: unreadVariable alias () 2022-01-24 21:52:45 +01:00
chrchr-github 9d6e5c2a05
Fix uninitMemberVar - member initialized via function call () 2022-01-24 21:52:00 +01:00
chrchr-github 158f3d494e
Fix false positive: redundantInitialization with std::shared_ptr () 2022-01-24 21:50:50 +01:00
chrchr-github d64dadcd31
Fix Crash in CheckClass::checkConstFunc() () 2022-01-24 21:50:01 +01:00
Oliver Stöneberg 8179226b18
astutils.cpp: optimized visitAstNodesGeneric() a bit more by avoiding unnecessary checks and std::stack usage () 2022-01-24 21:44:09 +01:00
chrchr-github b491fcc489
Add test cases for , () 2022-01-24 15:06:40 +01:00
Paul Fultz II 01e14a12f1
Fix 10755: Assertion "!maxValue->isKnown()" from valueFlowInferCondition ()
* Fix 10755: Assertion "!maxValue->isKnown()" from valueFlowInferCondition

* Format
2022-01-22 12:25:20 +01:00
Paul Fultz II 8b1ed9cbe1
Another fix for 10739: internalAstError with decltype ()
* Another fix for 10739: internalAstError with decltype

* Format
2022-01-22 07:22:57 +01:00
chrchr-github b23ca879ed
Fix FP functionConst with overloaded operator[] [inconclusive] () 2022-01-21 20:40:10 +01:00
Oliver Stöneberg be73eb3c7c
donate-cpu-server.py: added links to some important errors to overview () 2022-01-21 15:46:29 +01:00
Paul Fultz II a7dbd288c4
Fix 10738: FP knownEmptyContainer with auto reference ()
* Fix 10738: FP knownEmptyContainer with auto reference

* Format
2022-01-21 09:56:55 +01:00
Paul Fultz II 6c2b1f093d
Another fix for 10728: Crash in CheckStl::checkDereferenceInvalidIterator2() ()
* Another fix for 10728: Crash in CheckStl::checkDereferenceInvalidIterator2()

* Format
2022-01-21 09:56:41 +01:00
Paul Fultz II 0737cc4d8c
Fix 10708: Assertion "!maxValue->isKnown()" from valueFlowInferCondition ()
* Fix 10708: Assertion "!maxValue->isKnown()" from valueFlowInferCondition

* Format
2022-01-21 09:56:24 +01:00
Paul Fultz II 57b50e4b00
Fix 10739: internalAstError with decltype () 2022-01-20 21:36:48 +01:00
Daniel Marjamäki ebd1fbbfd8 cert: improved check for int31-c 2022-01-20 21:09:39 +01:00
chrchr-github 7f9ef8c321
Add test cases for , , ()
* Add test case for  and 

* Add test case for ##9256
2022-01-20 16:15:38 +01:00
chrchr-github 4d44d0c079
Fix FP deallocuse after auto_ptr () 2022-01-19 21:39:45 +01:00
orbitcowboy 19f605c7e5 wxwidgets.cfg: Fixed wrong default argument 2022-01-19 16:42:22 +01:00
chrchr-github 089ca67d78
Use TODO_ASSERT () 2022-01-18 22:03:52 +01:00
Oliver Stöneberg 55ff684f34
added unusedFunction self check to CI / cleanups () 2022-01-18 22:02:25 +01:00
Daniel Marjamäki 31f16d01d6 fix in misra test code 2022-01-18 20:59:30 +01:00
Daniel Marjamäki 5ebcd1dd52 misra; update test there was a warning about missing return 2022-01-18 20:55:30 +01:00
Rikard Falkeborn e106654993
Fix : Uncaughty exception in CheckMemoryLeak::getReallocationType() () 2022-01-18 20:50:06 +01:00
chrchr-github 1e2863cd33
Fix FP functionConst with aggregate initialization [inconclusive] () 2022-01-18 20:49:35 +01:00
chrchr-github ca2e0ca287
Fix FP functionConst with extra parentheses () 2022-01-18 20:21:25 +01:00
chrchr-github cb5a50c6a7
Fix FN passedByValue with QString () 2022-01-18 20:17:05 +01:00
Paul Fultz II 7b793af451
Fix 10728: Crash in CheckStl::checkDereferenceInvalidIterator2 ()
* Fix 10728: Crash in CheckStl::checkDereferenceInvalidIterator2

* Format
2022-01-18 14:48:02 +01:00
orbitcowboy b6c010c17e Added regression test for Ticket 7981. 2022-01-18 13:09:02 +01:00
orbitcowboy 9483ea4198 Fixed typo in CLI output. 2022-01-18 11:46:34 +01:00
chrchr-github c2fc4973ad
Fix False positive for explicit one-argument constructor if co… () 2022-01-17 20:51:23 +01:00
chrchr-github 9c56e7ea8d
Fix FN uninitialized variable usage not detected () 2022-01-17 20:35:30 +01:00
Oliver Stöneberg 2148b8b165
astutils.cpp: optimized visitAstNodesGeneric() a bit () 2022-01-17 20:34:35 +01:00
chrchr-github 605fd7cf98
Fix FP functionConst (inconclusive) with nested members () 2022-01-17 20:33:32 +01:00
Paul Fultz II 7406dd8c94
Fix 10721: Crash in Tokenizer::simplifyTokenList1 () 2022-01-16 12:46:20 +01:00
Paul Fultz II abb0563cef
Fix 10726: Crash in CheckExceptionSafety::checkRethrowCopy () 2022-01-16 12:35:51 +01:00
Paul Fultz II 89bc226738
Fix 10718: Crash in CheckOther::checkDuplicateExpression () 2022-01-16 12:34:20 +01:00
Paul Fultz II 4af98f21d6
Fix 10588: crash () 2022-01-16 12:33:31 +01:00
Paul Fultz II 9220c8175d
Remove todo assert () 2022-01-16 12:32:46 +01:00
Paul Fultz II 55ff010df3
Fix 10717: Crash in SymbolDatabase::setValueTypeInTokenList ()
* Fix 10717: Crash in SymbolDatabase::setValueTypeInTokenList

* Format
2022-01-15 07:56:56 +01:00
Paul Fultz II 0b1cd8626d
Fix 10664: Crash in Token::linkAt ()
* Fix 10664: Crash in Token::linkAt

* Format
2022-01-14 23:51:01 +01:00
Paul Fultz II 2b6a89e30e
Fix 10716: Crash in CheckStl::checkDereferenceInvalidIterator2 ()
* Fix 10716: Crash in CheckStl::checkDereferenceInvalidIterator2

* Format
2022-01-14 23:50:33 +01:00
chrchr-github 781a145680
Fix regression: functionStatic related to overload resolution () 2022-01-14 17:55:50 +01:00
chrchr-github 12abf85d1d
Add test case for , use TODO_ASSERT, enable test case ()
* Add test case for , use TODO_ASSERT, enable test case

* Comment
2022-01-13 19:52:02 +01:00
Armin Müller 5a05631c84
Typos found by running "codespell" () 2022-01-13 17:24:26 +01:00
chrchr-github 95dc05b21d
Fix false negative: (style) Unused variable: std::pair () 2022-01-13 08:05:05 +01:00
chrchr-github af0a585a70
Partial fix for False negative: stlOutOfBounds, cast () 2022-01-13 08:03:24 +01:00
Oliver Stöneberg 34317f86ab
reduce.py: several improvements () 2022-01-13 07:52:47 +01:00
Oliver Stöneberg 4f508c93c4
reduce.py: improved --segfault / added detection of "hang" caused by reduced code / cleanups () 2022-01-12 22:26:32 +01:00
chrchr-github 59837be152
Remove redundant type check () 2022-01-12 22:25:37 +01:00
Kuletco bd2c4bb0a6
Update zh_CN translation () 2022-01-12 22:10:05 +01:00