cppcheck/test
chrchr-github 01a22159b8
Fix autoNoType with std::begin() / function returning smart ptr (#4919)
* Fix autoNoType with std::begin()

* Suppress warning for const lambda

* Fix autoNoType with function returning smart ptr

* Handle more complex expression

* Fix scope with auto and smart ptr

* Handle smart pointers and iterators first
2023-04-01 09:38:40 +02:00
..
cfg refs #11603 - deprecated `--enable=information` implicitly enabling `missingInclude` (#4865) 2023-03-09 20:04:20 +01: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 refs #11603 - deprecated `--enable=information` implicitly enabling `missingInclude` (#4865) 2023-03-09 20:04:20 +01: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 Move some checks for variable changed from constVariable check to isVariableChanged (#4905) 2023-03-21 18:16:40 +01: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 Fix #11616 false negative: functionConst (#4887) 2023-03-27 17:54:19 +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 #11625 FP constVariable when returning by reference (#4921) 2023-03-30 07:24:36 +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 made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01: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 ValueFlow: Evaluate if statement for function returns (#4908) 2023-03-24 13:31:26 +01: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 #11627 Infinite loop in ReverseTraversal (#4916) 2023-03-30 07:22:41 +02:00
testvarid.cpp Partial fix for #11611 FP constStatement with typedef and unknown macro (#4881) 2023-03-12 11:13:58 +01:00