cppcheck/test
Rikard Falkeborn c3eb37972d
Fix #10182 (FN memory leak with if-statement) (#3151)
Improve leak detections in if-statements. This is done by checking
for leaks every time a scope is left. This allows cppcheck to catch
more memory leaks, as well as improve some error messages which now
contain the line where the variable goes out of scope, instead of the
end of the function.
2021-02-26 12:58:52 +01:00
..
bug-hunting some Python cleanups based on PyCharm inspections (#2999) 2021-01-31 14:27:11 +01:00
cfg astyle formatting 2021-02-20 13:33:57 +01:00
cli some Python cleanups based on PyCharm inspections (#2999) 2021-01-31 14:27:11 +01: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 TestLeakAutoVar: Split recursiveCountLimit test to separate class (#2995) 2020-12-31 09:34:53 +01:00
options.cpp Update Copyright 2019-06-29 07:49:14 +02:00
options.h Update Copyright 2019-06-29 07:49:14 +02:00
precompiled.h Refactorization: Include cleanup and added one more header to test/precompiled.h 2021-02-18 16:16:40 +01:00
redirect.h Update copyright year 2020-05-10 11:16:32 +02:00
test.cxx test: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:40 +02:00
test64bit.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testassert.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testastutils.cpp 10110: Fix FP knownConditionTrueFalse (#3053) 2021-01-25 17:23:47 +01:00
testautovariables.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testbool.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testboost.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testbufferoverrun.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testbughuntingchecks.cpp Fix compilation error 2021-02-24 22:20:11 +01:00
testcharvar.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testclangimport.cpp Fixed #10100 (FP: shadowVariable clangimport) 2021-01-27 20:03:42 +01:00
testclass.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testcmdlineparser.cpp Fix compilation error 2021-02-24 22:31:46 +01:00
testcondition.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testconstructors.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testcppcheck.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
testerrorlogger.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testexceptionsafety.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testexprengine.cpp ExprEngine: Handling cases when for condition is always false (#2984) 2020-12-26 21:29:50 +01:00
testfilelister.cpp Refactorization: Include cleanup and added one more header to test/precompiled.h 2021-02-18 16:16:40 +01:00
testfunctions.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testgarbage.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testimportproject.cpp Fixed #10149 (compile database; incomplete handling of directory and file) 2021-01-31 10:14:22 +01:00
testincompletestatement.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testinternal.cpp Update copyright year 2020-05-10 11:16:32 +02:00
testio.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testleakautovar.cpp Fix #10182 (FN memory leak with if-statement) (#3151) 2021-02-26 12:58:52 +01:00
testlibrary.cpp library: Refactor to use enum class (#3026) 2021-01-08 10:29:01 +01:00
testmathlib.cpp some MathLib adjustments for out-of-range numbers after std::stringstream removal (#3100) 2021-02-13 19:10:45 +01:00
testmemleak.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testnullpointer.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testoptions.cpp Allow multiple test case arguments to testrunner (#1755) 2019-03-26 20:28:40 +01:00
testother.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01: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 Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testpreprocessor.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +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 added validateCFG and checkcfg targets to CMake / some refactorings (#2687) 2020-11-02 20:16:15 +01:00
testsimplifytemplate.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testsimplifytokens.cpp Move simplifyKnownVariables tests to TestSimplifyTokens 2021-02-25 21:32:56 +01:00
testsimplifytypedef.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testsimplifyusing.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testsizeof.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
teststl.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
teststring.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testsuite.cpp Refactorization: Improved string handling in test suite 2021-02-24 22:05:23 +01:00
testsuite.h Refactorization: Improved string handling in test suite 2021-02-24 22:05:23 +01:00
testsummaries.cpp Summaries: Moved to its own files 2020-12-20 19:53:58 +01:00
testsuppressions.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testsymboldatabase.cpp Refactorization: Removed unnecessary \n and spaces in strings 2021-02-20 12:58:42 +01:00
testthreadexecutor.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtimer.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtoken.cpp Refactorization: Removed unnecessary \n and spaces in strings 2021-02-20 12:58:42 +01:00
testtokenize.cpp Move simplifyKnownVariables tests to TestSimplifyTokens 2021-02-25 21:32:56 +01: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 Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testuninitvar.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testunusedfunctions.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testunusedprivfunc.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testunusedvar.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testutils.cpp Refactorization: Reduced stack usage of givenACodeSampleToTokenize 2021-02-18 16:28:04 +01:00
testutils.h Fix compile error 2021-02-18 18:50:30 +01:00
testvaarg.cpp Refactorization: Improved internal implementation of severity and certainty levels 2021-02-24 22:00:06 +01:00
testvalueflow.cpp Fix some warnings (#3096) 2021-02-23 08:19:05 +01:00
testvarid.cpp Refactorization: Removed unnecessary \n and spaces in strings 2021-02-20 12:58:42 +01:00