cppcheck/test
Oliver Stöneberg 56ac230e97
added strict cfg check (#4093)
* runtests.sh: added strict mode - enabled via `STRICT=1`

* CI-unixish.yml: added strict cfg check

* runtests.sh: disabled syntax check for kde.cpp since `kde-4config` is no longer commonly available in recent distros

* runtests.sh: disabled syntax check for opencv2.cpp since `opencv.pc` is not commonly available in distros

* runtests.sh: added missing trailing slash to `CFG` - fixes define checks
2022-05-10 13:03:58 +02:00
..
bug-hunting Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
cfg added strict cfg check (#4093) 2022-05-10 13:03:58 +02:00
cli Fix unmatched suppression (#5704) (#3886) 2022-03-30 19:24:53 +02:00
synthetic Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testsuites Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
CMakeLists.txt Use default template in the cfg tests (#4039) 2022-04-23 06:18:44 +02:00
options.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
options.h Update copyright year 2021-09-26 11:34:56 +02:00
precompiled.h Update Copyright year 2021-03-21 20:58:32 +01:00
redirect.h Update copyright year 2021-09-26 11:34:56 +02:00
test.cxx
test64bit.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testassert.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testastutils.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testautovariables.cpp Fix #10569 FN: duplicateExpression with multiple strings compared (#4087) 2022-05-09 21:05:35 +02:00
testbool.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testboost.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testbufferoverrun.cpp Add tests for # 10773, #108787, #8991 (#4063) 2022-04-30 08:20:00 +02:00
testcharvar.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testclangimport.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testclass.cpp Fix #10427 Regression: selfInitialization (#4070) 2022-05-02 16:49:13 +02:00
testcmdlineparser.cpp added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
testcondition.cpp Add test for #6372 (#4090) 2022-05-09 20:26:15 +02:00
testconstructors.cpp Fix #9391 False negative: Uninitialized struct member (default constructor) (#4088) 2022-05-09 20:28:21 +02:00
testcppcheck.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
testerrorlogger.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testexceptionsafety.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testfilelister.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testfunctions.cpp use-retval for localtime() (#3935) 2022-03-25 17:32:54 +01:00
testgarbage.cpp Fix #10451 syntaxError with typedef and lambda (#3900) 2022-03-14 17:59:29 +01:00
testimportproject.cpp compile_commands.json: ensure that order of include paths are kept 2022-03-24 22:50:04 +01:00
testincompletestatement.cpp Fix #10952 FP constStatement with cast in return (#3986) 2022-04-07 14:11:14 +02:00
testinternal.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testio.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testleakautovar.cpp Fix #11014 FN redundantPointerOp / remove simplifyMulAndParens() (#4062) 2022-05-01 15:46:07 +02:00
testlibrary.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testmathlib.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testmemleak.cpp Fix #3886 New Check : Return value of "new" ignored (#3884) 2022-04-09 19:06:32 +02:00
testnullpointer.cpp Fix 11040: FP nullPointer after loop (#4085) 2022-05-05 06:55:02 +02: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 #10569 FN: duplicateExpression with multiple strings compared (#4087) 2022-05-09 21:05:35 +02:00
testpath.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testpathmatch.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testplatform.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testpostfixoperator.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testpreprocessor.cpp added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
testrunner.cpp Update copyright year 2022-02-05 11:45:17 +01:00
testrunner.vcxproj aligned build options of Visual Studio project configurations and added them to CMake (#4020) 2022-04-21 21:28:29 +02:00
testrunner.vcxproj.filters Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
testsimplifytemplate.cpp Fix #10494 Same template name confuses check (#4011) 2022-04-13 12:25:21 +02:00
testsimplifytokens.cpp Fix 10951: FP knownEmptyContainer with east-const (#3988) 2022-04-08 08:22:39 +02:00
testsimplifytypedef.cpp Fix 11006: FP uninitvar with unknown constant (#4056) 2022-04-28 10:48:37 +02:00
testsimplifyusing.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testsizeof.cpp Fix #9648 FP sizeofDivisionMemfunc (#4017) 2022-04-13 18:21:56 +02:00
teststl.cpp Fix 11027: False positive: containerOutOfBounds from condition in assert (#4084) 2022-05-05 06:54:44 +02:00
teststring.cpp Added regression test for #8332. 2022-04-06 08:12:41 +02:00
testsuite.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +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 removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testsuppressions.cpp Fix unmatched suppression (#5704) (#3886) 2022-03-30 19:24:53 +02:00
testsymboldatabase.cpp Fix #11001 syntaxError for valid C code sizeof(enum ...) (#4045) 2022-04-26 07:22:53 +02:00
testthreadexecutor.cpp cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
testtimer.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testtoken.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testtokenize.cpp Tokenizer: Fix handling of __attribute__ for overloaded operator function 2022-05-08 18:19:52 +02:00
testtokenlist.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testtokenrange.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testtype.cpp Add tests for # 10773, #108787, #8991 (#4063) 2022-04-30 08:20:00 +02:00
testuninitvar.cpp Fix #11018 FP uninitvar with redundant pointer op (#4082) 2022-05-05 06:54:27 +02:00
testunusedfunctions.cpp use std::string::empty() (#3910) 2022-04-09 19:02:37 +02:00
testunusedprivfunc.cpp Fix #10265 FP unused private method (#4015) 2022-04-13 14:49:28 +02:00
testunusedvar.cpp Added a regression test for ticket #10000 - No UnreadVariable for simple class 2022-05-03 06:58:03 +02:00
testutils.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testutils.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
testvaarg.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testvalueflow.cpp Fix 11053: Integer division by zero in calculate.h (#4092) 2022-05-09 20:27:32 +02:00
testvarid.cpp Add tests for # 10773, #108787, #8991 (#4063) 2022-04-30 08:20:00 +02:00