cppcheck/test
Paul Fultz II d5e2ee411e
Fix 11578: FP accessMoved with range-based for loop (#4931)
* Fix 11578: FP accessMoved with range-based for loop

* Format
2023-04-03 19:44:47 +02:00
..
cfg qt: fix Q_UNUSED macro defintion (#4925) 2023-04-01 16:33:50 +02:00
cli Fix #10039 (integrate `--check-config` include findings with normal analysis) / also fixes #11283 (#3229) 2023-03-04 09:02:35 +01: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: fail if `TODO_ASSERT_*` succeeds (#4911) 2023-03-26 15:13:07 +02:00
fixture.h Move some checks for variable changed from constVariable check to isVariableChanged (#4905) 2023-03-21 18:16:40 +01:00
helpers.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
helpers.h optimized suppression lookups a bit when no suppressions exist (#4839) 2023-03-03 18:37:09 +01:00
main.cpp testrunner: moved exception handling to `TestFixture::run()` and made it unconditional (#4810) 2023-02-24 21:46:07 +01: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 Fix FP returnTempReference (#4793) 2023-02-17 07:17:37 +01:00
testanalyzerinformation.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testassert.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
testastutils.cpp Fix #11599 false negative: constParameter (#4902) 2023-04-02 20:36:23 +02:00
testautovariables.cpp Fix 11630 and 11620 lifetime issues (#4913) 2023-03-24 13:29:43 +01:00
testbool.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
testboost.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
testbufferoverrun.cpp removed `experimental` and `safe` from `Certainty` (#4819) 2023-03-12 14:15:29 +01:00
testcharvar.cpp made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
testclangimport.cpp made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
testclass.cpp testclass.cpp: fixed compilation (#4927) 2023-04-01 19:58:58 +02:00
testcmdlineparser.cpp refs #11603 - deprecated `--enable=information` implicitly enabling `missingInclude` (#4865) 2023-03-09 20:04:20 +01:00
testcondition.cpp #8499 Added regression test: (style) Condition 'i==0||i==1' is always true (for loop index) 2023-03-17 19:06:17 +01:00
testconstructors.cpp iwyu.yml: added `clang-include-cleaner` job / cleaned up includes based on `include-what-you-use` (#4844) 2023-03-04 08:53:19 +01:00
testcppcheck.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testerrorlogger.cpp improved library loading in tests (#4806) 2023-03-02 21:10:51 +01:00
testexceptionsafety.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
testfilelister.cpp improved setting of platform in tests / also improved platform tests (#4787) 2023-02-11 10:44:56 +01:00
testfunctions.cpp Fix autoNoType with std::begin() / function returning smart ptr (#4919) 2023-04-01 09:38:40 +02:00
testgarbage.cpp Fix #11639 findGarbageCode(): SIGSEGV (#4917) 2023-03-28 11:24:52 +02:00
testimportproject.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testincompletestatement.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testinternal.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
testio.cpp iwyu.yml: added `clang-include-cleaner` job / cleaned up includes based on `include-what-you-use` (#4844) 2023-03-04 08:53:19 +01:00
testleakautovar.cpp iwyu.yml: added `clang-include-cleaner` job / cleaned up includes based on `include-what-you-use` (#4844) 2023-03-04 08:53:19 +01:00
testlibrary.cpp avoid some unchecked pointer dereferences (#4811) 2023-03-02 22:05:41 +01:00
testmathlib.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testmemleak.cpp improved library loading in tests (#4806) 2023-03-02 21:10:51 +01:00
testnullpointer.cpp testnullpointer.cpp: restored TODO assert in `nullpointerStdStream` (#4914) 2023-03-26 16:18:44 +02:00
testoptions.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testother.cpp Fix 11578: FP accessMoved with range-based for loop (#4931) 2023-04-03 19:44:47 +02:00
testpath.cpp Revert "improved `Path` handling of mixed separators (#4808)" 2023-02-24 06:21:02 +01:00
testpathmatch.cpp Update copyright year 2023-01-28 10:16:34 +01: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 Update copyright year 2023-01-28 10:16:34 +01:00
testpreprocessor.cpp Preprocessor: provide suppressions separately from settings (#4878) 2023-03-09 20:15:53 +01:00
testprocessexecutor.cpp simplified `ThreadExecutor` class by moving some code out of it / fixed some thread safety issues (#4849) 2023-03-04 12:05:17 +01:00
testrunner.vcxproj improved testing of missing includes / made it possible to clear the include cache in simplecpp (#4704) 2023-02-07 22:02:12 +01:00
testrunner.vcxproj.filters generate `*.vcxproj` file lists with `dmake` (#4652) 2023-01-21 11:55:36 +01:00
testsettings.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testsimplifytemplate.cpp made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
testsimplifytokens.cpp Fix #11629 debug: Scope::checkVariable found variable 'np' with varid 0. (#4915) 2023-04-03 15:41:19 +02:00
testsimplifytypedef.cpp Tokenizer::simplifyTypedef: new faster simplification. 2023-03-26 17:16:45 +02:00
testsimplifyusing.cpp made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
testsizeof.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
teststl.cpp Fix 11630 and 11620 lifetime issues (#4913) 2023-03-24 13:29:43 +01:00
teststring.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
testsummaries.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testsuppressions.cpp Fix #11513 FN functionConst with comparison as argument (#4738) 2023-03-12 11:39:18 +01:00
testsymboldatabase.cpp Fix autoNoType with std::begin() / function returning smart ptr (#4919) 2023-04-01 09:38:40 +02:00
testthreadexecutor.cpp simplified `ThreadExecutor` class by moving some code out of it / fixed some thread safety issues (#4849) 2023-03-04 12:05:17 +01:00
testtimer.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testtoken.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testtokenize.cpp Partial fix for #11638 Library::getFunctionName: SIGSEGV (#4920) 2023-03-30 07:25:26 +02:00
testtokenlist.cpp made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
testtokenrange.cpp Update copyright year 2023-01-28 10:16:34 +01:00
testtype.cpp made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
testuninitvar.cpp Fix #11599 false negative: constParameter (#4902) 2023-04-02 20:36:23 +02:00
testunusedfunctions.cpp made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
testunusedprivfunc.cpp made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
testunusedvar.cpp Fix FP unusedStructMember with std::map (#4899) 2023-03-20 19:40:57 +01:00
testutils.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
testvaarg.cpp cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
testvalueflow.cpp Fix 11512: FN containerOutOfBounds when empty vector is returned (#4928) 2023-04-02 11:58:04 +02:00
testvarid.cpp Partial fix for #11611 FP constStatement with typedef and unknown macro (#4881) 2023-03-12 11:13:58 +01:00