cppcheck/test
dummyunit 229832e72e
Read error locations in the correct order from XML (#3226)
When ErrorMessage::callStack elements are serialized to XML they are
saved in the reverse order. But when they read back from XML they are
added at the end of the list. Thus the round trip via XML reverses the
order of ErrorMessage::callStack.

From the user point of view it looks like the usage of the
--cppcheck-build-dir option sometimes (when the file wasn't reanalyzed,
but that is hard to spot) results in incorrect location info for some
diagnostic messages.

Moreover, when the first location matches some suppression rule and the
last doesn't match any (or vice versa), usage of --cppcheck-build-dir
results in some diagnostic messages appearing and disappearing seemingly
at random (again, depending on whether the file was reanalyzed or not).
2021-04-22 14:28:33 +02:00
..
bug-hunting some Python cleanups based on PyCharm inspections (#2999) 2021-01-31 14:27:11 +01:00
cfg Fix issue 10208: FP: knownConditionTrueFalse in for loop with function that assigns by ref (#3198) 2021-04-18 21:42:27 +02:00
cli Clang import; This experimental feature didn't "take off" much. After a lot of work we are still far fram the goal. I remove it now but don't rule out completely that it could ever be added again. 2021-04-21 18:59:48 +02:00
synthetic fixed/excluded some shellcheck warnings and actually fail the build when something is found (#3068) 2021-01-20 18:43:49 +01:00
testsuites Rename test cases, 'verification' was renamed to 'bug hunting' 2020-01-15 21:11:04 +01:00
CMakeLists.txt fix w64-mingw32-ld linking error (#3184) 2021-03-29 17:04:42 +02:00
options.cpp cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
options.h Update Copyright 2019-06-29 07:49:14 +02:00
precompiled.h Update Copyright year 2021-03-21 20:58:32 +01:00
redirect.h Update copyright year 2020-05-10 11:16:32 +02:00
test.cxx
test64bit.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testassert.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testastutils.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testautovariables.cpp Fix issue 10214: FP: danglingTempReference doesn't account for reference lifetime extension (#3220) 2021-04-19 14:20:29 +02:00
testbool.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testboost.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testbufferoverrun.cpp #10244: Fixed false negative: bufferAccessOutOfBounds 2021-04-13 16:40:38 +02:00
testbughuntingchecks.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testcharvar.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testclass.cpp Running astyle [ci skip] 2021-04-09 08:46:47 +02:00
testcmdlineparser.cpp cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
testcondition.cpp Fix issue 10235: Regression: oppositeInnerCondition (#3223) 2021-04-19 09:15:03 +02:00
testconstructors.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testcppcheck.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
testerrorlogger.cpp Read error locations in the correct order from XML (#3226) 2021-04-22 14:28:33 +02:00
testexceptionsafety.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testexprengine.cpp cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
testfilelister.cpp Check stat return value in addFiles2 (#3214) 2021-04-18 21:52:14 +02:00
testfunctions.cpp Fixed #8412 (ignoredReturnValue not issued when return value is changed but not really used (by logical not for example)) 2021-04-04 18:26:07 +02:00
testgarbage.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testimportproject.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testincompletestatement.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testinternal.cpp Update copyright year 2020-05-10 11:16:32 +02:00
testio.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testleakautovar.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testlibrary.cpp cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
testmathlib.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testmemleak.cpp cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
testnullpointer.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testoptions.cpp Allow multiple test case arguments to testrunner (#1755) 2019-03-26 20:28:40 +01:00
testother.cpp Unreachable code; better handling of throw in C code 2021-04-05 04:53:07 +02:00
testpath.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testpathmatch.cpp Update copyright year 2020-05-10 11:16:32 +02:00
testplatform.cpp Update copyright year 2020-05-10 11:16:32 +02:00
testpostfixoperator.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testpreprocessor.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testrunner.cpp Update Copyright 2019-06-29 07:49:14 +02:00
testrunner.vcxproj Set language compatibility to C++14 in Visual Studio (#2967) 2020-12-22 10:24:25 +01:00
testrunner.vcxproj.filters Visual Studio; Try to fix compilation 2020-12-20 21:01:45 +01:00
testsamples.cpp Check stat return value in addFiles2 (#3214) 2021-04-18 21:52:14 +02:00
testsimplifytemplate.cpp TemplateSimplifier: updated output of uninstantiated c++17 fold expressions 2021-04-21 13:13:11 +02:00
testsimplifytokens.cpp Fixed #9214 (Tests are run on simplified token list) 2021-04-06 21:21:53 +02:00
testsimplifytypedef.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testsimplifyusing.cpp fix simplifyUsing debug warning for: using value_type = const ValueFlow::Value; (#3211) 2021-04-17 14:20:16 +02:00
testsizeof.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
teststl.cpp Fix issue 10012: False positive: mismatching container, not containers (#3222) 2021-04-19 09:17:02 +02:00
teststring.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testsuite.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testsuite.h Update Copyright year 2021-03-21 20:58:32 +01:00
testsummaries.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testsuppressions.cpp cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
testsymboldatabase.cpp Function::returnsReference: handle type scope better 2021-04-10 14:31:50 +02:00
testthreadexecutor.cpp cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
testtimer.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtoken.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testtokenize.cpp Simple handling of coroutines 2021-04-18 19:42:22 +02:00
testtokenlist.cpp Fixed Token::isKeyword: Actually set this flag to a reasonable value in all code paths 2020-05-19 13:47:25 +02:00
testtype.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testuninitvar.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testunusedfunctions.cpp cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
testunusedprivfunc.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testunusedvar.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testutils.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testutils.h Update Copyright year 2021-03-21 20:58:32 +01:00
testvaarg.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testvalueflow.cpp Fix issue 9932: FP: containerOutOfBounds (#3217) 2021-04-18 10:43:38 +02:00
testvarid.cpp 10221: Fix setVarId in template code (#3187) 2021-03-29 12:16:02 +02:00