cppcheck/test
chrchr-github bd6c5318ad
Detect container action and yield functions (#5117)
* Detect container action and yield functions

* Fix test

* Adapt getUseRetValType() to handle container yield functions
Add TODO

* Handle combined action/yield

* Add Yield::BUFFER

* Remove redundant functions

* Revert "Remove redundant functions"

This reverts commit 4f124a57de5c761ac757ebed83d9f047ef4a1328.

* Add Yield::AT_INDEX

* Add Yield::ITERATOR

* Simplify
2023-06-09 16:03:47 +02:00
..
cfg Detect container action and yield functions (#5117) 2023-06-09 16:03:47 +02:00
cli Fixed #11734 (stylistic warnings from addons are not filtered when style is not enabled) (#5091) 2023-05-27 10:24:00 +02:00
CMakeLists.txt use `ccache` for sanitizer builds / do not use precompiled headers with `ccache` (#4910) 2023-04-01 09:40:10 +02:00
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 extracted single job execution into `SingleExecutor` / improved testing / do not unconditionally apply colors to output (#4882) 2023-04-08 18:06:38 +02:00
options.cpp Update copyright year 2023-01-28 10:16:34 +01:00
options.h Update Copyrights 2022-08-28 14:22:12 +02:00
precompiled.h cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
redirect.h simplified `ThreadExecutor` class by moving some code out of it / fixed some thread safety issues (#4849) 2023-03-04 12:05:17 +01:00
test64bit.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testanalyzerinformation.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testassert.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testastutils.cpp Fix spurious lambda detection (#5101) 2023-05-31 20:55:39 +02:00
testautovariables.cpp Fix #11753 FN: invalidLifetime (#5128) 2023-06-08 07:45:59 +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 Don't suggest const for smartptr::get() (#5126) 2023-06-07 20:45:48 +02:00
testcmdlineparser.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testcolor.cpp optimized template string substitutions a bit (#4840) 2023-04-08 22:19:52 +02:00
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 cleaned up includes based on `include-what-you-use` (#5021) 2023-04-30 07:33:19 +02:00
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 Detect container action and yield functions (#5117) 2023-06-09 16:03:47 +02:00
testgarbage.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testimportproject.cpp iwyu.yml: use a distro which has the latest `include-what-you-use` / enabled Qt mappings / cleaned up includes (#4885) 2023-04-08 16:08:47 +02:00
testincompletestatement.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testinternal.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
testio.cpp testrunner: more `SettingsBuilder` usage and `const` cleanups (#5026) 2023-05-02 15:54:19 +02:00
testleakautovar.cpp Fix FN deallocuse with array access (#5121) 2023-06-08 07:55:49 +02:00
testlibrary.cpp testrunner: even more `SettingsBuilder` usage and `const` cleanups (#5030) 2023-05-04 10:31:05 +02:00
testmathlib.cpp Support integer Z suffix and user defined literals with _ suffix (#10807, #11438) (#5130) 2023-06-08 20:03:41 +02:00
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 Update copyright year 2023-01-28 10:16:34 +01:00
testother.cpp Fix #11596 FP uninitvar with array of function pointers (#5098) 2023-06-07 11:41:22 +02:00
testpath.cpp Use path to executable when trying to load library (#5082) 2023-05-26 06:55:36 +02:00
testpathmatch.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testplatform.cpp made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
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 Update copyright year 2023-01-28 10:16:34 +01:00
testsimplifytemplate.cpp Remove hardcoded lists of functions/templates/types (#5069) 2023-05-28 14:33:41 +02:00
testsimplifytokens.cpp Fixed #11013 (FP overlappingWriteUnion with anonymous struct in union) (#5067) 2023-05-20 10:34:42 +02:00
testsimplifytypedef.cpp Revert "Revert "Skip forwarding values for unique expressions (#5103)"" (#5124) 2023-06-07 11:11:48 +02:00
testsimplifyusing.cpp Fix #11670 FP constStatement (inconclusive) triggered by namespace (#5114) 2023-06-03 15:13:15 +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 Fix #11547 FN stlcstrConstructor, stlcstrAssignment with std::stringview (#5097) 2023-05-31 16:51:37 +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 scope for function returning rvalue reference, insert std:: in return statement (#5119) 2023-06-08 07:47:21 +02:00
testthreadexecutor.cpp SingleExecutor: process markup files after code when scanning projects (#4972) 2023-05-03 17:32:28 +02:00
testtimer.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testtoken.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testtokenize.cpp Fix scope for function returning rvalue reference, insert std:: in return statement (#5119) 2023-06-08 07:47:21 +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 #1175 uninitialized data: casted to 'int *' and dereferenced (#5008) 2023-05-29 15:29:53 +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 #11063 FP unreadVariable with extra parentheses and scope operator (#5122) 2023-06-07 20:45:27 +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 Revert "Revert "Skip forwarding values for unique expressions (#5103)"" (#5124) 2023-06-07 11:11:48 +02:00