cppcheck/test
Paul Fultz II ff902369e0
Fix 10851: False positive: known variable value below for loop (#3891)
* Fix 10851: False positive: known variable value below for loop

* Format

* Add test for 10863

* Format
2022-03-12 06:15:35 +01:00
..
bug-hunting Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
cfg test windows.cfg: Added regression test for _wtoi_l and _atoi_l. 2022-02-15 11:37:10 +01:00
cli Fix #9162 (Invalid --project files do not give any error) (#3177) 2021-12-19 12:36:11 +01: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 added CMake option USE_THREADS to be able to use threads instead of fork() / cleanups (#3852) 2022-02-23 09:04:35 +01: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 10702: FP knownConditionTrueFalse - Member variable modified (#3857) 2022-02-28 18:54:55 +01: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 Warn about buffer overruns when allocating memory with new (#3879) 2022-03-07 19:43:40 +01:00
testbughuntingchecks.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01: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 FP missingOverride with unnamed parameters (#3887) 2022-03-11 21:44:13 +01:00
testcmdlineparser.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testcondition.cpp Fix 10851: False positive: known variable value below for loop (#3891) 2022-03-12 06:15:35 +01:00
testconstructors.cpp Fix #5499 C++11 default values not for all class fields and missing constructor (#3876) 2022-03-07 08:39:19 +01:00
testcppcheck.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01: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
testexprengine.cpp Fix #10391 bug hunting; crash for small C-code (#3846) 2022-02-21 18:09:46 +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 test for #7433 (#3836) 2022-02-16 16:43:06 +01:00
testgarbage.cpp Fix #10817 Crash in checkPassByReference() / #10810 Stack overflow with decltype / #10763 Crash on invalid code (#3840) 2022-02-18 12:59:21 +01:00
testimportproject.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testincompletestatement.cpp constStatementError: don't warn for casts with possible side effects,… (#3885) 2022-03-11 21:45:51 +01: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 false positive in memory leak 2022-03-10 08:29:05 +01: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 #8126 Fix previous commit (#3833) 2022-02-15 20:03:02 +01:00
testnullpointer.cpp Fix #10059 missing varId with using namespace (#3860) 2022-02-27 09:03:24 +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 #10823 FP cstyleCast with function pointer and calling convention (#3853) 2022-02-23 09:12:14 +01: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 removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testrunner.cpp Update copyright year 2022-02-05 11:45:17 +01:00
testrunner.vcxproj Fix MSVC build and some warnings (#3334) 2021-07-16 21:55:12 +02:00
testrunner.vcxproj.filters Remove TestSamples 2021-07-10 21:04:38 +02:00
testsimplifytemplate.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testsimplifytokens.cpp Add test for #10835 (#3877) 2022-03-07 10:44:46 +01:00
testsimplifytypedef.cpp Fix #10798 cppcheckError with enum class and typedefs (#3867) 2022-03-02 07:46:15 +01:00
testsimplifyusing.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testsizeof.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
teststl.cpp Partial fix for #6615 FN buffer access out of bounds: std::vector (#3873) 2022-03-06 07:41:09 +01:00
teststring.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testsuite.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testsuite.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testsummaries.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testsuppressions.cpp removed ThreadExecutor::addFileContent() (#3865) 2022-03-02 11:10:29 +01:00
testsymboldatabase.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testthreadexecutor.cpp removed ThreadExecutor::addFileContent() (#3865) 2022-03-02 11:10:29 +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 enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testtokenize.cpp Fix 10808: cppcheckError AST cyclic dependency with decltype (#3850) 2022-02-22 06:30:17 +01: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 removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testuninitvar.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testunusedfunctions.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testunusedprivfunc.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testunusedvar.cpp Partial fix for #10848 FP: unusedStructMember (#3880) 2022-03-09 20:25:58 +01:00
testutils.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testutils.h removed ThreadExecutor::addFileContent() (#3865) 2022-03-02 11:10:29 +01: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 10851: False positive: known variable value below for loop (#3891) 2022-03-12 06:15:35 +01:00
testvarid.cpp Partial fix for #9384 varid 0 with lambda (#3875) 2022-03-08 20:10:51 +01:00