cppcheck/test
chrchr-github 7bbdc95f25
Fix #11473 FP constVariable / #11448 FP constParameter / #11188 FP danglingTempReference (#4680)
* Fix #11473 FP constVariable with range-based for / #11448 FP constParameter with unused non-const range loop variable

* Fix ValueType / #11188 FP danglingTempReference with auto

* Fix ValueType in range-based for

* Update symboldatabase.cpp
2023-01-11 22:04:06 +01:00
..
cfg Improve qt.cfg: unreadVariable for macro parameter (#4683) 2023-01-07 23:29:47 +01:00
cli added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
CMakeLists.txt some small cleanups and refactorings (#4488) 2022-09-24 11:59:13 +02:00
options.cpp use `cbegin()` and `cend()` with `const_ierator` loops (#4658) 2022-12-20 20:32:16 +01:00
options.h Update Copyrights 2022-08-28 14:22:12 +02:00
precompiled.h Update Copyright year 2021-03-21 20:58:32 +01:00
redirect.h include all (internal non-generated) headers in clang-tidy checks (#4100) 2022-10-16 13:51:17 +02:00
test.cxx
test64bit.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testanalyzerinformation.cpp Fix sense of test (.analyzerinfo files get placed in wrong directory) (#4486) 2022-09-21 17:38:23 +02:00
testassert.cpp Fixed #9926 (False positive assertWithSideEffects, calling method that has no side effects) 2022-10-12 07:51:50 +02:00
testastutils.cpp Fix #11374 FP danglingTemporaryLifetime with std::string_view (#4602) 2022-11-27 09:22:55 +01:00
testautovariables.cpp Fix #11473 FP constVariable / #11448 FP constParameter / #11188 FP danglingTempReference (#4680) 2023-01-11 22:04:06 +01:00
testbool.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testboost.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testbufferoverrun.cpp Fix 11461: arrayIndexOutOfBounds false positive (#4686) 2023-01-07 22:09:17 +01:00
testcharvar.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testclangimport.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testclass.cpp Fix #11383 FP selfAssignment: lambda capture / #11380 FP operatorEqRetRefThis (#4581) 2022-11-13 21:20:44 +01:00
testcmdlineparser.cpp Fix crash on ternary with omitted operand (#4673) 2023-01-02 17:44:17 +01:00
testcondition.cpp Fix #11478 FP identicalConditionAfterEarlyExit when passing *this (#4684) 2023-01-07 22:10:07 +01:00
testconstructors.cpp Fix crash on nullptr (#4582) 2022-11-13 23:04:51 +01:00
testcppcheck.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
testerrorlogger.cpp errortypes.h: use `enum class` instead of wrapping types into classes (#4693) 2023-01-08 19:31:54 +01:00
testexceptionsafety.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testfilelister.cpp Fixed #11395 (Cant exclude file) 2022-11-24 13:45:57 +01:00
testfunctions.cpp Get type from auto (#4640) 2022-12-18 16:54:58 +01:00
testgarbage.cpp use `cbegin()` and `cend()` with `const_ierator` loops (#4658) 2022-12-20 20:32:16 +01:00
testimportproject.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
testincompletestatement.cpp Fix #11370 FP constStatement with lambda (#4570) 2022-11-01 11:50:08 +01:00
testinternal.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testio.cpp Fix #11289 FP wrongPrintfScanfArgNum - snprintf with parameter pack (#4644) 2022-12-15 08:52:13 +01:00
testleakautovar.cpp Fix #11431 FP resourceLeak with goto (#4645) 2022-12-14 22:47:14 +01:00
testlibrary.cpp applied clang-tidy `misc-const-correctness` fixes for POD types, iterators and references (#4529) 2022-10-02 07:12:40 +02:00
testmathlib.cpp fixed #11428 - improved handling of suffixes in `MathLib::to{Double|ULong|Long}Number()` (#4635) 2022-12-13 07:52:45 +01:00
testmemleak.cpp Fix leakNoVarFunctionCall FP (#4523) 2022-09-29 21:58:11 +02:00
testnullpointer.cpp Partial fix for #11378 internalAstError regressions (iscpp11init) (#4629) 2022-12-16 10:46:15 +01:00
testoptions.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testother.cpp Fix #11473 FP constVariable / #11448 FP constParameter / #11188 FP danglingTempReference (#4680) 2023-01-11 22:04:06 +01:00
testpath.cpp Fixed whole program analysis 2022-07-12 22:58:52 +02:00
testpathmatch.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testplatform.cpp Implemented error handling in cppcheck::Platform::loadFromXmlDocument(), enabled related unit test (#8409) (#4181) 2022-06-08 12:35:23 +02:00
testpostfixoperator.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testpreprocessor.cpp Typos found by running "codespell" (#4578) 2022-11-09 22:52:03 +01:00
testprocessexecutor.cpp use `cbegin()` and `cend()` with `const_ierator` loops (#4658) 2022-12-20 20:32:16 +01:00
testrunner.cpp Update copyright year 2022-02-05 11:45:17 +01:00
testrunner.vcxproj added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
testrunner.vcxproj.filters added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
testsimplifytemplate.cpp Fix #11386 debug: CheckClass::checkConst found unlinked template argument list (#4614) 2022-12-07 09:12:46 +01:00
testsimplifytokens.cpp Fix #11359 FP constStatement for function-local struct definition+initialization statement (#4561) 2022-10-22 00:27:19 +02:00
testsimplifytypedef.cpp Fix #11373 typedef: not simplified after inline keyword (#4574) 2022-11-02 15:15:33 +01:00
testsimplifyusing.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testsizeof.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
teststl.cpp Fix 11381: FP derefInvalidIteratorRedundantCheck when updating iterator using std::tie (#4659) 2022-12-20 20:29:19 +01:00
teststring.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testsuite.cpp use `cbegin()` and `cend()` with `const_ierator` loops (#4658) 2022-12-20 20:32:16 +01:00
testsuite.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
testsummaries.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testsuppressions.cpp errortypes.h: use `enum class` instead of wrapping types into classes (#4693) 2023-01-08 19:31:54 +01:00
testsymboldatabase.cpp Fix #11473 FP constVariable / #11448 FP constParameter / #11188 FP danglingTempReference (#4680) 2023-01-11 22:04:06 +01:00
testthreadexecutor.cpp use `cbegin()` and `cend()` with `const_ierator` loops (#4658) 2022-12-20 20:32:16 +01:00
testtimer.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testtoken.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
testtokenize.cpp Add test for #11128 (#4649) 2022-12-18 16:57:25 +01:00
testtokenlist.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testtokenrange.cpp use `const_iterator` where possible (#4662) 2022-12-30 15:13:47 +01:00
testtype.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testuninitvar.cpp Fix #11460 unintvar false positive (#4674) 2023-01-02 17:44:52 +01:00
testunusedfunctions.cpp Fix #11486 FN unusedFunction when enum value with same name exists (#4690) 2023-01-08 14:30:42 +01:00
testunusedprivfunc.cpp Respect [[maybe_unused]] in unusedPrivateFunction (#4579) 2022-11-10 20:58:39 +01:00
testunusedvar.cpp Add tests for #9327, #10597 (#4566) 2022-10-25 19:41:48 +02:00
testutils.cpp fixed handling of incomplete char/string literals in `isPrefixStringCharLiteral()` - also optimized it a bit (#4541) 2022-10-09 11:19:19 +02:00
testutils.h enabled and fixed `readability-named-parameter` clang-tidy warnings (#4487) 2022-09-27 20:03:25 +02:00
testvaarg.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testvalueflow.cpp Fix crash on ternary with omitted operand (#4673) 2023-01-02 17:44:17 +01:00
testvarid.cpp Fix spurious variable declaration with unknown macro (#4694) 2023-01-09 16:11:26 +01:00