cppcheck/test
chrchr-github bc409776e3
Fix #10320 Wrong redundant condition: misleading/wrong message (#4334)
* Fix #10320 Wrong redundant condition: misleading/wrong message

* Use expressionString()

* Clarify condition

* Update testcondition.cpp

* Trigger CI
2022-08-02 18:31:02 +02:00
..
bug-hunting
cfg windows.cfg: deprecate '_alloca()'. Ref. https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/alloca?view=msvc-170 2022-07-29 21:41:32 +02:00
cli Fixed #11172 (Unmatched suppression for inline suppression even though --suppress=unmatchedSuppression is used) 2022-07-12 22:51:26 +02:00
synthetic
testsuites
CMakeLists.txt some `missingInclude`/`missingIncludeSystem` fixes and tests (#4027) 2022-07-09 23:21:11 +02:00
options.cpp
options.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
precompiled.h
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
testanalyzerinformation.cpp Fixed whole program analysis 2022-07-12 22:58:52 +02:00
testassert.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testastutils.cpp Fix #9997 False negative: variable is not used (#4104) 2022-06-07 21:20:33 +02:00
testautovariables.cpp Fix #11016 FP unusedStructMember when used through iterator (regression) (#4289) 2022-07-19 20:42:54 +02:00
testbool.cpp Fix FP bitwiseOnBoolean (#4280) 2022-07-14 20:59:39 +02:00
testboost.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testbufferoverrun.cpp Fix BufferOverrun TODO (#4300) 2022-07-22 07:24:34 +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 Fix ClangImport crash on Windows paths (#4246) 2022-07-02 17:43:52 +02:00
testclass.cpp Fix #10077 FP functionConst when overloaded operator ++ is used (#4309) 2022-07-26 08:30:59 +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 Fix #10320 Wrong redundant condition: misleading/wrong message (#4334) 2022-08-02 18:31:02 +02:00
testconstructors.cpp CheckClass: Fix false negatives for uninitMemberVar 2022-06-21 19:28:08 +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 Cppcheck: Write product name if provided in xml output 2022-07-07 17:35:13 +02: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 Add tests for #5804, #8958, #9002, #10031 (#4326) 2022-07-30 16:15:32 +02: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 #11157 FN: leakNoVarFunctionCall (switch condition) (#4240) 2022-06-28 14:02:02 +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 #8476 --check-library reports missing configuration for static_assert (#4314) 2022-07-28 22:47:15 +02:00
testlibrary.cpp Replaced check for pipe() buffer size by ordinary CheckBufferOverrun, provide required Library configuration option (#4183) 2022-06-19 12:01:55 +02:00
testmathlib.cpp Remove simplifyKnownVariables() (#4232) 2022-06-25 08:38:17 +02:00
testmemleak.cpp Fix FP leakNoVarFunctionCall (#4243) 2022-06-30 13:05:28 +02:00
testnullpointer.cpp Fix #11117 FP nullPointerArithmetic when adding 0 (#4167) 2022-06-03 13:11:54 +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 #11191 FP moduloofone with pow() (#4312) 2022-07-28 22:11:23 +02: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 removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testpreprocessor.cpp some `missingInclude`/`missingIncludeSystem` fixes and tests (#4027) 2022-07-09 23:21:11 +02:00
testprocessexecutor.cpp separated process execution code into `ProcessExecutor` (#4249) 2022-07-08 16:42:57 +02:00
testrunner.cpp Update copyright year 2022-02-05 11:45:17 +01:00
testrunner.vcxproj Fixed whole program analysis 2022-07-12 22:58:52 +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 #11146 Crash in expandTemplate() (#4238) 2022-06-28 22:43:34 +02:00
testsimplifytokens.cpp Fix #11191 FP moduloofone with pow() (#4312) 2022-07-28 22:11:23 +02:00
testsimplifytypedef.cpp Fix 11006: FP uninitvar with unknown constant (#4056) 2022-04-28 10:48:37 +02:00
testsimplifyusing.cpp Fix #11090 Infinite recursion in findTypeInBase() (#4178) 2022-06-08 09:20:16 +02:00
testsizeof.cpp Fix #9648 FP sizeofDivisionMemfunc (#4017) 2022-04-13 18:21:56 +02:00
teststl.cpp Add tests for #5804, #8958, #9002, #10031 (#4326) 2022-07-30 16:15:32 +02:00
teststring.cpp Added regression test for #8332. 2022-04-06 08:12:41 +02:00
testsuite.cpp fixed some `modernize-use-emplace` false negatives and some `bugprone-assignment-in-if-condition` warnings (#4311) 2022-07-28 22:53:59 +02: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 some `TestSuppressions` improvements and cleanups (#4271) 2022-07-12 17:36:36 +02:00
testsymboldatabase.cpp Fix #11016 FP unusedStructMember when used through iterator (regression) (#4289) 2022-07-19 20:42:54 +02:00
testthreadexecutor.cpp some `TestSuppressions` improvements and cleanups (#4271) 2022-07-12 17:36:36 +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 Tokenizer: Remove simplifyCharAt from simplifyTokenList2 2022-06-12 15:14:48 +02:00
testtokenize.cpp Fix #9716 Syntax error for function-try-block in global scope (#4305) 2022-07-31 14:49:50 +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 Correctly interpret boolean literals in `execute()` (#4251) 2022-07-08 12:39:29 +02:00
testunusedfunctions.cpp Fix #10661 FP extern function reported as unused (#4279) 2022-07-14 20:59:58 +02:00
testunusedprivfunc.cpp Fix #10265 FP unused private method (#4015) 2022-04-13 14:49:28 +02:00
testunusedvar.cpp Fix #9946 FP: unassignedVariable when operator() is called subsequently (#4303) 2022-07-24 17:52:14 +02:00
testutils.cpp Update copyright year 2022-05-21 12:18:27 +02: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 #9946 FP: unassignedVariable when operator() is called subsequently (#4303) 2022-07-24 17:52:14 +02:00
testvarid.cpp Improvement: Set varId for variables with global scope operator :: Refactorization: Moved internal class from tokenize.h to tokenize.cpp (#4184) 2022-06-11 08:11:16 +02:00