cppcheck/test
chrchr-github cd21918520
Fix FP memleak with outparam allocation (f'up to #12186) (#5677)
I wonder if it is worth trying to get this right. We also have FPs when
the return value is assigned to a variable, and that seems much harder
to fix.
2023-11-19 19:51:32 +01:00
..
cfg Fix FP memleak with outparam allocation (f'up to #12186) (#5677) 2023-11-19 19:51:32 +01:00
cli Fix #12182 (speedup valueFlow by only running valueFlowNumber once) (#5678) 2023-11-19 18:56:48 +01:00
CMakeLists.txt test/CMakeLists.txt: updated the test fixture costs (#5565) 2023-10-21 09:15:22 +02:00
fixture.cpp moved some classes/structs into anonymous namespace (#5669) 2023-11-16 15:49:41 +01:00
fixture.h iwyu.yml: made `include-what-you-use` output more verbose / cleaned up includes (#5540) 2023-10-16 12:57:49 +02:00
helpers.cpp fixed #12145 - provided order of source files is not preserved (#5625) 2023-11-07 21:21:24 +01:00
helpers.h refs #11928 / refs #10045 / fixes #11794 - generate `limits.h`/`climits` defines from platform (#5414) 2023-10-21 17:21:12 +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 fixed "Redundant dereferencing and tasking address expression" Rider warnings (#5563) 2023-10-16 14:09:03 +02: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 Fix #12159 FP CastAddressToIntegerAtReturn with std::future (#5634) 2023-11-08 13:12:50 +01:00
testanalyzerinformation.cpp fixed some "Variable can be made constexpr" Rider warnings (#5615) 2023-11-03 09:55:44 +01:00
testassert.cpp removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
testastutils.cpp Set the lower and upper bounds for variable that are only incremented or decremented (#5523) 2023-10-19 18:42:52 +02:00
testautovariables.cpp Fix #12173 FP danglingTempReference with loop over init list (#5652) 2023-11-12 10:19:45 +01:00
testbool.cpp removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
testboost.cpp removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
testbufferoverrun.cpp fixed some "Variable can be made constexpr" Rider warnings (#5615) 2023-11-03 09:55:44 +01:00
testcharvar.cpp gui/platforms.h: renamed `Platform` to `PlatformData` / Platform: removed unnecessary `cppcheck` namespace (#5545) 2023-10-13 16:02:04 +02:00
testcheck.cpp cleaned up includes based on include-what-you-use (#5532) 2023-10-09 10:07:20 +02:00
testclangimport.cpp gui/platforms.h: renamed `Platform` to `PlatformData` / Platform: removed unnecessary `cppcheck` namespace (#5545) 2023-10-13 16:02:04 +02:00
testclass.cpp Partial fix for #12162 false negative: functionConst (#5639) 2023-11-08 22:37:45 +01:00
testcmdlineparser.cpp fixed #12059 - added `--fsigned-char` and `--funsigned-char` command-line options (#5580) 2023-11-08 09:28:33 +01:00
testcolor.cpp optimized template string substitutions a bit (#4840) 2023-04-08 22:19:52 +02:00
testcondition.cpp Fix #12165 (simplifyTypedef: the "enum" token is not inserted) (#5641) 2023-11-09 07:48:33 +01:00
testconstructors.cpp Fix #12150 FP uninitialized member array, initialized in range for loop (#5627) 2023-11-06 16:15:47 +01:00
testcppcheck.cpp added `TestCheck` and moved some tests from `TestCppcheck` (#5289) 2023-08-07 20:49:10 +02:00
testerrorlogger.cpp removed unnecessary encapsulation of severity enum and made it an `enum class` (#5541) 2023-10-12 11:58:39 +02:00
testexceptionsafety.cpp removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
testfilelister.cpp fixed #12145 - provided order of source files is not preserved (#5625) 2023-11-07 21:21:24 +01:00
testfunctions.cpp fixed some "Variable can be made constexpr" Rider warnings (#5615) 2023-11-03 09:55:44 +01:00
testgarbage.cpp cleaned up includes based on include-what-you-use (#5532) 2023-10-09 10:07:20 +02:00
testimportproject.cpp fixed some "Variable can be made constexpr" Rider warnings (#5615) 2023-11-03 09:55:44 +01:00
testincompletestatement.cpp Fix #12072 FN constStatement with enum (#5554) 2023-10-13 21:40:47 +02:00
testinternal.cpp removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
testio.cpp gui/platforms.h: renamed `Platform` to `PlatformData` / Platform: removed unnecessary `cppcheck` namespace (#5545) 2023-10-13 16:02:04 +02:00
testleakautovar.cpp Fix #12186 FN memleak with outparam allocation (#5661) 2023-11-16 15:23:40 +01:00
testlibrary.cpp fixed some "Variable can be made constexpr" Rider warnings (#5615) 2023-11-03 09:55:44 +01:00
testmathlib.cpp fixed some "Variable can be made constexpr" Rider warnings (#5615) 2023-11-03 09:55:44 +01:00
testmemleak.cpp Fix FP leakNoVarFunctionCall (#5309) 2023-08-10 20:55:02 +02:00
testnullpointer.cpp fixed some typos (#5562) 2023-10-17 18:32:07 +02:00
testoptions.cpp cleaned up includes based on include-what-you-use / iwyu.yml: updated to yet another distro to get the latest version and updated the Chaotic-AUR key (#5267) 2023-08-02 10:36:17 +02:00
testother.cpp Fix #12185 FN constVariablePointer with stream (#5659) 2023-11-16 17:43:20 +01:00
testpath.cpp fixed #11926 (Treat MacOS filesystem as case insensitive) / TestPath: added more tests (#5412) 2023-09-08 17:33:37 +02:00
testpathmatch.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testplatform.cpp fixed some "Variable can be made constexpr" Rider warnings (#5615) 2023-11-03 09:55:44 +01:00
testpostfixoperator.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testpreprocessor.cpp refs #11928 / refs #10045 / fixes #11794 - generate `limits.h`/`climits` defines from platform (#5414) 2023-10-21 17:21:12 +02:00
testprocessexecutor.cpp iwyu.yml: fixed `include-what-you-use` job / cleaned up includes (#5657) 2023-11-13 23:24:06 +01:00
testrunner.vcxproj fixed #11910 - removed Visual Studio x86 targets from project files and builds from CI (#5397) 2023-09-04 19:40:13 +02:00
testrunner.vcxproj.filters Fix #11897 (Safety: show what checks are enabled/disabled) (#5378) 2023-08-31 18:28:47 +02:00
testsettings.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testsimplifytemplate.cpp Fix #12178 extern "C++" scope generates valueflow (#5654) 2023-11-14 10:02:41 +01:00
testsimplifytokens.cpp Fix #12137 syntaxError with attribute in typedef (#5612) 2023-11-03 09:56:41 +01:00
testsimplifytypedef.cpp Fix varid0 with rvalue reference typedef (#5649) 2023-11-11 10:09:08 +01:00
testsimplifyusing.cpp gui/platforms.h: renamed `Platform` to `PlatformData` / Platform: removed unnecessary `cppcheck` namespace (#5545) 2023-10-13 16:02:04 +02:00
testsingleexecutor.cpp iwyu.yml: fixed `include-what-you-use` job / cleaned up includes (#5657) 2023-11-13 23:24:06 +01:00
testsizeof.cpp cleaned up includes based on include-what-you-use (#5532) 2023-10-09 10:07:20 +02:00
teststl.cpp Partial fix for #11469 FP mismatchingContainerExpression warning (#5674) 2023-11-17 17:12:38 +01:00
teststring.cpp iwyu.yml: made `include-what-you-use` output more verbose / cleaned up includes (#5540) 2023-10-16 12:57:49 +02:00
testsummaries.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testsuppressions.cpp fixed #12145 - provided order of source files is not preserved (#5625) 2023-11-07 21:21:24 +01:00
testsymboldatabase.cpp Fix #12159 FP CastAddressToIntegerAtReturn with std::future (#5634) 2023-11-08 13:12:50 +01:00
testthreadexecutor.cpp iwyu.yml: fixed `include-what-you-use` job / cleaned up includes (#5657) 2023-11-13 23:24:06 +01:00
testtimer.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testtoken.cpp Fix syntaxError with const lambda (refs #11275) (#5571) 2023-10-20 15:32:46 +02:00
testtokenize.cpp Fix #12178 extern "C++" scope generates valueflow (#5654) 2023-11-14 10:02:41 +01:00
testtokenlist.cpp iwyu.yml: fixed `include-what-you-use` job / cleaned up includes (#5657) 2023-11-13 23:24:06 +01:00
testtokenrange.cpp reduced usage of mutable `Settings` objects in tests (#4798) 2023-05-02 11:48:24 +02:00
testtype.cpp extracted `FileSettings` from `ImportProject` to `filesettings.h` (#5604) 2023-11-02 17:42:41 +01:00
testuninitvar.cpp Fix #12188 FN uninitvar with increment of struct member (#5665) 2023-11-16 18:11:12 +01:00
testunusedfunctions.cpp gui/platforms.h: renamed `Platform` to `PlatformData` / Platform: removed unnecessary `cppcheck` namespace (#5545) 2023-10-13 16:02:04 +02:00
testunusedprivfunc.cpp gui/platforms.h: renamed `Platform` to `PlatformData` / Platform: removed unnecessary `cppcheck` namespace (#5545) 2023-10-13 16:02:04 +02:00
testunusedvar.cpp Fix #12176 false positive: unassignedVariable (#5656) 2023-11-14 12:26:12 +01:00
testutils.cpp cleaned up includes based on include-what-you-use (#5532) 2023-10-09 10:07:20 +02:00
testvaarg.cpp removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
testvalueflow.cpp fixed some "Variable can be made constexpr" Rider warnings (#5615) 2023-11-03 09:55:44 +01:00
testvarid.cpp Fix #11334 debug: varid0 with anonymous union (#5648) 2023-11-11 10:01:03 +01:00