cppcheck/test
chrchr-github 8eabf5c211
Fix #8433 FN unused variable not detected when there is lambda (#5060)
* Fix #8433 FN unused variable not detected when there is lambda

* Format

* Fix tests

* Check lambda return

* Add test

* Undo, add test

* simpleMatch()

* Rename test
2023-05-22 07:39:57 +02:00
..
cfg Use library to get deallocation function (#5061) 2023-05-21 14:01:14 +02:00
cli runformat 2023-05-08 10:30:20 +02:00
CMakeLists.txt
fixture.cpp testrunner: even more `SettingsBuilder` usage and `const` cleanups (#5030) 2023-05-04 10:31:05 +02:00
fixture.h testrunner: even more `SettingsBuilder` usage and `const` cleanups (#5030) 2023-05-04 10:31:05 +02:00
helpers.cpp SingleExecutor: process markup files after code when scanning projects (#4972) 2023-05-03 17:32:28 +02:00
helpers.h reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
main.cpp
options.cpp
options.h
precompiled.h
redirect.h
test64bit.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testanalyzerinformation.cpp
testassert.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testastutils.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testautovariables.cpp Fix #10976 false negative: autoVariables [inconclusive] (regression) (#5044) 2023-05-13 14:11:01 +02:00
testbool.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testboost.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testbufferoverrun.cpp Fix #11708 internal error: converting '1f' to integer failed (#5066) 2023-05-18 23:26:56 +02:00
testcharvar.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testclangimport.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testclass.cpp Partial fix for #11626 FN functionConst with non-dereferenceable pointer access (#5070) 2023-05-21 14:00:24 +02:00
testcmdlineparser.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testcolor.cpp
testcondition.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testconstructors.cpp Fixed #11013 (FP overlappingWriteUnion with anonymous struct in union) (#5067) 2023-05-20 10:34:42 +02:00
testcppcheck.cpp
testerrorlogger.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testexceptionsafety.cpp testrunner: even more `SettingsBuilder` usage and `const` cleanups (#5030) 2023-05-04 10:31:05 +02:00
testfilelister.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testfunctions.cpp testrunner: even more `SettingsBuilder` usage and `const` cleanups (#5030) 2023-05-04 10:31:05 +02:00
testgarbage.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testimportproject.cpp
testincompletestatement.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testinternal.cpp
testio.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testleakautovar.cpp Fix #8433 FN unused variable not detected when there is lambda (#5060) 2023-05-22 07:39:57 +02:00
testlibrary.cpp testrunner: even more `SettingsBuilder` usage and `const` cleanups (#5030) 2023-05-04 10:31:05 +02:00
testmathlib.cpp
testmemleak.cpp Fix #8433 FN unused variable not detected when there is lambda (#5060) 2023-05-22 07:39:57 +02:00
testnullpointer.cpp Add tests for #11075, #11382 (#5035) 2023-05-04 20:35:56 +02:00
testoptions.cpp
testother.cpp Fixed #11013 (FP overlappingWriteUnion with anonymous struct in union) (#5067) 2023-05-20 10:34:42 +02:00
testpath.cpp
testpathmatch.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testplatform.cpp
testpostfixoperator.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testpreprocessor.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testprocessexecutor.cpp SingleExecutor: process markup files after code when scanning projects (#4972) 2023-05-03 17:32:28 +02:00
testrunner.vcxproj moved more code into `HAVE_RULES` (#4956) 2023-05-04 10:54:19 +02:00
testrunner.vcxproj.filters moved more code into `HAVE_RULES` (#4956) 2023-05-04 10:54:19 +02:00
testsettings.cpp
testsimplifytemplate.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testsimplifytokens.cpp Fixed #11013 (FP overlappingWriteUnion with anonymous struct in union) (#5067) 2023-05-20 10:34:42 +02:00
testsimplifytypedef.cpp Tokenizer: simplification of typedefs in _Generic arguments (#5059) 2023-05-14 15:14:52 +02:00
testsimplifyusing.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testsingleexecutor.cpp SingleExecutor: process markup files after code when scanning projects (#4972) 2023-05-03 17:32:28 +02:00
testsizeof.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
teststl.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
teststring.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testsummaries.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testsuppressions.cpp Suppressions: some cleanups (#4980) 2023-05-04 18:15:18 +02:00
testsymboldatabase.cpp Fix #11719 Handle lambdas in global scope (#5065) 2023-05-17 14:37:56 +02:00
testthreadexecutor.cpp SingleExecutor: process markup files after code when scanning projects (#4972) 2023-05-03 17:32:28 +02:00
testtimer.cpp
testtoken.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testtokenize.cpp Fixed #11013 (FP overlappingWriteUnion with anonymous struct in union) (#5067) 2023-05-20 10:34:42 +02:00
testtokenlist.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testtokenrange.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testtype.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testuninitvar.cpp Fix #10596 FN uninitdata with value initialization (#5056) 2023-05-13 22:07:09 +02:00
testunusedfunctions.cpp Partial fix for #9602 False positives with function pointers (#5042) 2023-05-14 12:16:17 +02:00
testunusedprivfunc.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testunusedvar.cpp Fix #8433 FN unused variable not detected when there is lambda (#5060) 2023-05-22 07:39:57 +02:00
testutils.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testvaarg.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testvalueflow.cpp Set values when assigning init list (#5057) 2023-05-14 17:01:07 +02:00
testvarid.cpp Fix #11717 Warn when C++ code is scanned as C (prevent FPs) (#5064) 2023-05-21 13:59:49 +02:00