cppcheck/test
chrchr-github 785c537ca2
Add tests for #4527, #10330 (#5734)
2023-12-07 12:16:53 +01:00
..
cfg Fix #12249 Assert failure in ExpressionAnalyzer (#5731) 2023-12-06 20:04:20 +01:00
cli Fix #12210 (Cppcheck hang in SymbolDatabase::createSymbolDatabaseExprIds) (#5699) 2023-12-05 14:22:32 +01:00
CMakeLists.txt test/CMakeLists.txt: updated the test fixture costs (#5565) 2023-10-21 09:15:22 +02:00
fixture.cpp testrunner: make sure that more redirects/outputs are actually being consumed (#5721) 2023-12-06 22:01:00 +01:00
fixture.h testrunner: make sure that more redirects/outputs are actually being consumed (#5721) 2023-12-06 22:01:00 +01:00
helpers.cpp fixed tests by adjusting results for `picojson` update (#5729) 2023-12-05 20:39:26 +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
options.cpp fixed "Redundant dereferencing and tasking address expression" Rider warnings (#5563) 2023-10-16 14:09:03 +02:00
options.h
precompiled.h
redirect.h testrunner: make sure all redirected output is being consumed / some cleanups (#5714) 2023-12-01 20:56:30 +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 Fix #11796 FN memleak with brace init (#5708) 2023-12-01 15:39:16 +01:00
testcmdlineparser.cpp fixed tests by adjusting results for `picojson` update (#5729) 2023-12-05 20:39:26 +01:00
testcolor.cpp
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 added `xml.h` wrapper for TinyXML2 / cleaned up suppressions of Clang compiler warnings (#5700) 2023-11-26 14:04:35 +01: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 testrunner: make sure that more redirects/outputs are actually being consumed (#5721) 2023-12-06 22:01:00 +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 Fix #12236 FP related to decltype/__typeof__ (#5717) 2023-12-04 11:19:49 +01:00
testleakautovar.cpp Fix #12236 FP related to decltype/__typeof__ (#5717) 2023-12-04 11:19:49 +01:00
testlibrary.cpp added `xml.h` wrapper for TinyXML2 / cleaned up suppressions of Clang compiler warnings (#5700) 2023-11-26 14:04:35 +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 Add test for #11534 (#5732) 2023-12-06 18:11:31 +01: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 #12214 FN constParameterReference / #12216 FP constParameterReference (#5691) 2023-11-25 22:58:16 +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 added `xml.h` wrapper for TinyXML2 / cleaned up suppressions of Clang compiler warnings (#5700) 2023-11-26 14:04:35 +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 testrunner: make sure that more redirects/outputs are actually being consumed (#5721) 2023-12-06 22:01:00 +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 fixed tests by adjusting results for `picojson` update (#5729) 2023-12-05 20:39:26 +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 #12218: class and union (#5705) 2023-12-01 10:03:43 +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 testrunner: make sure that more redirects/outputs are actually being consumed (#5721) 2023-12-06 22:01:00 +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 testrunner: make sure that more redirects/outputs are actually being consumed (#5721) 2023-12-06 22:01:00 +01:00
testsymboldatabase.cpp Add unit tests for expr ids (#5722) 2023-12-03 22:18:35 +01:00
testthreadexecutor.cpp testrunner: make sure that more redirects/outputs are actually being consumed (#5721) 2023-12-06 22:01:00 +01:00
testtimer.cpp
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 testrunner: make sure all redirected output is being consumed / some cleanups (#5714) 2023-12-01 20:56:30 +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 Add tests for #4527, #10330 (#5734) 2023-12-07 12:16:53 +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 #11012 FP unassignedVariable when passed in init list (#5684) 2023-11-20 19:43:29 +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 #12249 Assert failure in ExpressionAnalyzer (#5731) 2023-12-06 20:04:20 +01:00