cppcheck/lib
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
..
check.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
check.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
check64bit.cpp Fixed #6422 (symbol database: put function flags into a single flag variable) 2015-01-08 05:45:31 +01:00
check64bit.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkassert.cpp Fixed #6422 (symbol database: put function flags into a single flag variable) 2015-01-08 05:45:31 +01:00
checkassert.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkautovariables.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkautovariables.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkbool.cpp Make patterns compilable (mini refactoring) 2015-01-09 23:43:45 +01:00
checkbool.h Refactorization: Reduced chaos in CheckOther::classInfo() 2015-01-03 18:00:16 +01:00
checkboost.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkboost.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkbufferoverrun.cpp Clean up redundant pointer operations 2015-01-17 16:29:50 +01:00
checkbufferoverrun.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkclass.cpp Clean up redundant pointer operations 2015-01-17 16:29:50 +01:00
checkclass.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkcondition.cpp Fixed #6422 (symbol database: put function flags into a single flag variable) 2015-01-08 05:45:31 +01:00
checkcondition.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkexceptionsafety.cpp Refactorization: 2015-01-09 20:18:09 +01:00
checkexceptionsafety.h Refactorization: 2015-01-09 20:18:09 +01:00
checkinternal.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkinternal.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkio.cpp CheckIO: only report warnings when --enable=warning has been used 2015-01-06 15:08:25 +01:00
checkio.h CheckIO: only report warnings when --enable=warning has been used 2015-01-06 15:08:25 +01:00
checkleakautovar.cpp Move to global variables to file scope 2015-01-11 12:37:11 +01:00
checkleakautovar.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkmemoryleak.cpp Clean up redundant pointer operations 2015-01-17 16:29:50 +01:00
checkmemoryleak.h New check: Use make_shared/make_unique (#5673) 2015-01-04 11:07:53 +01:00
checknonreentrantfunctions.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checknonreentrantfunctions.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checknullpointer.cpp Make patterns compilable (mini refactoring) 2015-01-09 23:43:45 +01:00
checknullpointer.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkobsolescentfunctions.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkobsolescentfunctions.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkother.cpp Add new "style" check to catch redundant pointer operations 2015-01-18 00:34:07 +01:00
checkother.h Add new "style" check to catch redundant pointer operations 2015-01-18 00:34:07 +01:00
checkpostfixoperator.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkpostfixoperator.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checksizeof.cpp CheckSizeof: only report warnings when --enable=warning has been used 2015-01-06 15:20:42 +01:00
checksizeof.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkstl.cpp Fixed GCC warnings in checkstl.cpp 2015-01-04 14:32:20 +01:00
checkstl.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkstring.cpp Fixed #6415 - FP stringCompare memcmp(ptr, ptr+offset, length). 2015-01-07 08:30:05 +01:00
checkstring.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checktype.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checktype.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkuninitvar.cpp Fixed #6422 (symbol database: put function flags into a single flag variable) 2015-01-08 05:45:31 +01:00
checkuninitvar.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkunusedfunctions.cpp Unused function check: Fix detection of func.usedOtherFile 2015-01-07 11:29:37 +01:00
checkunusedfunctions.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkunusedvar.cpp Check "var" for null pointer before using it 2015-01-18 13:02:58 +01:00
checkunusedvar.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkvaarg.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkvaarg.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
config.h Refactorizations optimizing std::string usage: 2014-06-26 11:51:02 +02:00
cppcheck.cpp Fix false negatives for local suppressions 2015-01-20 18:47:30 +01:00
cppcheck.h Fix false negatives for local suppressions 2015-01-20 18:47:30 +01:00
cppcheck.vcxproj Change "obsolete" in all filenames into "obsolescent", and also update all references to such files. 2014-09-23 16:18:04 +02:00
cppcheck.vcxproj.filters Change "obsolete" in all filenames into "obsolescent", and also update all references to such files. 2014-09-23 16:18:04 +02:00
cxx11emu.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
errorlogger.cpp Multi process check: Sanitize error messages for illegal characters 2015-01-17 16:12:00 +01:00
errorlogger.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
executionpath.cpp Uninitialized variables: bailout when ({..}) are used to avoid fp. it can be handled better. 2015-01-06 07:44:04 +01:00
executionpath.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
lib.pri Revert "run dmake" 2014-09-23 21:04:31 +02:00
library.cpp Accept unknown elements in Library files, but print a warning. This fixes backward compatibility of libraries with older cppcheck versions 2015-01-10 22:18:57 +01:00
library.h Accept unknown elements in Library files, but print a warning. This fixes backward compatibility of libraries with older cppcheck versions 2015-01-10 22:18:57 +01:00
mathlib.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
mathlib.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
path.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
path.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
pcrerules.pri
preprocessor.cpp Fixed #6396 (There are false negatives when --include is used) 2015-01-03 18:22:52 +01:00
preprocessor.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
settings.cpp Fix false negatives for local suppressions 2015-01-20 18:47:30 +01:00
settings.h Fix false negatives for local suppressions 2015-01-20 18:47:30 +01:00
standards.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
suppressions.cpp Fix false negatives for local suppressions 2015-01-20 18:47:30 +01:00
suppressions.h Fix false negatives for local suppressions 2015-01-20 18:47:30 +01:00
symboldatabase.cpp Fixed #6432 (cppcheck fails to detect ctor - partial template specialization) 2015-01-19 16:15:11 +01:00
symboldatabase.h Use unsigned int for all flags 2015-01-17 16:46:05 +01:00
templatesimplifier.cpp Fix segfault in template simplifier 2015-01-18 01:43:43 +01:00
templatesimplifier.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
timer.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
timer.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
token.cpp Verbose AST dump: Show if token is expanded from macro 2015-01-17 23:20:52 +01:00
token.h Refactorization: 2015-01-09 20:18:09 +01:00
tokenize.cpp Replace custom code with Settings::isWindowsPlatform() 2015-01-18 12:43:43 +01:00
tokenize.h 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
tokenlist.cpp tokenlist::createAst(); should not be const. 2015-01-20 11:22:22 +01:00
tokenlist.h tokenlist::createAst(); should not be const. 2015-01-20 11:22:22 +01:00
valueflow.cpp Library: More strict matching of functions 2015-01-08 19:31:41 +01:00
valueflow.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
version.h Set version to 1.68.99/1.69 dev 2015-01-03 17:44:47 +01:00
version.rc