cppcheck/test
Thomas Jarosch ec21134817 Fix false negatives for local suppressions
Introduce a new bool setting jointSuppressionReport
that will be set by the analyseWholeProgram() code path.

When the flag is enabled, unmatched suppressions are
collected after running the final whole program analysis
to prevent false positives for the unusedFunction check.

The check functions in the unit test
for single / multi file suppressions were unified.
2015-01-20 18:47:30 +01:00
..
options.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
options.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
redirect.h Updated copyright year to 2015 2015-01-03 12:14:58 +01: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
test.pro Don't include tinyxml from both lib.pri and test.pro 2013-08-19 19:44:29 +04:00
test64bit.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testassert.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testautovariables.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testbool.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testboost.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testbufferoverrun.cpp Library: More strict matching of functions 2015-01-08 19:31:41 +01:00
testcharvar.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testclass.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testcmdlineparser.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testcondition.cpp Fixed #5906 (false negative: 'else if' expression is always false (use library to determine if function is pure)) 2015-01-10 12:21:55 +01:00
testconstructors.cpp Destructor detected as constructor resulting in false variable not initialized warnings 2015-01-12 06:11:22 +01:00
testcppcheck.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testerrorlogger.cpp Multi process check: Sanitize error messages for illegal characters 2015-01-17 16:12:00 +01:00
testexceptionsafety.cpp Refactorization: 2015-01-09 20:18:09 +01:00
testfilelister.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testfiles.pri run dmake 2014-09-24 13:50:57 +02:00
testgarbage.cpp testrunner: add testcases for fixed crashes in Template code: #5950 #6034 #6108 #6117 #6225 2015-01-18 14:13:59 +01:00
testincompletestatement.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testinternal.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testio.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testleakautovar.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testlibrary.cpp Library: More strict matching of functions 2015-01-08 19:31:41 +01:00
testmathlib.cpp Fixed some const correctness issues in the test suite. 2015-01-19 18:00:05 +01:00
testmemleak.cpp testmemleak: Added missing () in test case. 2015-01-11 10:27:37 +01:00
testnonreentrantfunctions.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testnullpointer.cpp CheckNullPointer: Fix FP when x is NULL and address is calculated with expression '&x->y.z[0]' 2015-01-05 14:54:24 +01:00
testobsolescentfunctions.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testoptions.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testother.cpp Add new "style" check to catch redundant pointer operations 2015-01-18 00:34:07 +01:00
testpath.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testpathmatch.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testpostfixoperator.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testpreprocessor.cpp Fixed some const correctness issues in the test suite. 2015-01-19 18:00:05 +01:00
testrunner.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testrunner.vcxproj Added test file for garbage code: 2014-09-24 13:45:56 +02:00
testrunner.vcxproj.filters Added test file for garbage code: 2014-09-24 13:45:56 +02:00
testsamples.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testsimplifytemplate.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testsimplifytokens.cpp Removed Tokenizer::simplifyStructInit simplification. 2015-01-04 16:48:52 +01:00
testsimplifytypedef.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testsizeof.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
teststl.cpp Refactorized CheckStl::if_find(): 2015-01-04 12:43:50 +01:00
teststring.cpp alwaysTrueFalseStringCompare: Added more test cases to ensure no FP appears. 2015-01-07 08:38:39 +01:00
testsuite.cpp Fixed inconclusive warnings regarding const correctness. 2015-01-20 09:09:16 +01:00
testsuite.h Fixed inconclusive warnings regarding const correctness. 2015-01-20 09:09:16 +01:00
testsuppressions.cpp Fix false negatives for local suppressions 2015-01-20 18:47:30 +01:00
testsymboldatabase.cpp Fixed #6432 (cppcheck fails to detect ctor - partial template specialization) 2015-01-19 16:15:11 +01:00
testthreadexecutor.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testtimer.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testtoken.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testtokenize.cpp Tokenizer: Remove macro in class declaration like 'class DLLEXPORT Fred {}' to be able to handle the class better later 2015-01-17 07:42:49 +01:00
testtype.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testuninitvar.cpp Fixed #6424 (false negative: Use of 'class Ns::C' silence Cppcheck) 2015-01-19 06:38:54 +01:00
testunusedfunctions.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testunusedprivfunc.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testunusedvar.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testutils.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testvaarg.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testvalueflow.cpp ValueFlow: improved handling of conditional noreturn scope in valueFlowForward 2015-01-06 14:12:35 +01:00
testvarid.cpp Tokenizer: Remove macro in class declaration like 'class DLLEXPORT Fred {}' to be able to handle the class better later 2015-01-17 07:42:49 +01:00