cppcheck/lib
Miika-Petteri Matikainen acd8a092f8 Make syntaxError suppressable (fixes #5917 and #7076)
syntaxErrors were not suppressable, because they were treated as
InternalErrors which were thrown and catched during the checking,
and normal suppression rules were not applied for those.

We fix this by calling the normal reportErr() function that does
suppression matching.
2015-10-28 20:53:35 +02:00
..
CMakeLists.txt Fixed #6844 (CMake with matchcompiler) 2015-07-23 10:49:53 +02:00
astutils.cpp Use ValueType in astIsIntegral() 2015-10-11 14:11:11 +02:00
astutils.h Cure some doxygen warnings 2015-08-30 20:12:02 +02:00
check.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
check.h Fix platform-dependent test result, formatting and crash in whole program analysis 2015-06-28 17:54:48 +02:00
check64bit.cpp Refactorization: Renamed Token::Match pattern %var% to %name%, implement new pattern %var% which is true if varId > 0. 2015-01-31 12:32:04 +01:00
check64bit.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkassert.cpp Added pointer to Type to Token (similar to Token::Variable() and Token::function()): 2015-08-15 11:19:21 +02:00
checkassert.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkautovariables.cpp minor refactoring 2015-09-09 10:08:37 +02:00
checkautovariables.h Properly differentiate arrays of pointers and pointers to arrays. 2015-08-25 21:19:19 +02:00
checkbool.cpp Fixed crash on garbage code #7033 2015-10-09 13:06:52 +02:00
checkbool.h Refactorization: Reduced chaos in CheckOther::classInfo() 2015-01-03 18:00:16 +01:00
checkboost.cpp Refactorization: Renamed Token::Match pattern %var% to %name%, implement new pattern %var% which is true if varId > 0. 2015-01-31 12:32:04 +01:00
checkboost.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkbufferoverrun.cpp avoid some fixes for noisy signedness warnings 2015-10-11 12:50:46 +02:00
checkbufferoverrun.h Removed some unused code 2015-08-15 19:17:25 +02:00
checkclass.cpp Support range-based for-loop in CheckClass::checkConst() (#5514) 2015-10-26 18:48:01 +01:00
checkclass.h Reverted 105de8e917, new checker had FPs that need to be fixed. 2015-04-25 15:35:31 +02:00
checkcondition.cpp Fixed TODO-test for CheckCondition::checkBadBitmaskCheck by handling functions return bool. 2015-09-03 21:07:03 +02:00
checkcondition.h Moved functions to astutils 2015-08-03 09:20:50 +02:00
checkexceptionsafety.cpp #6712 segmentation fault (invalid code) in CheckExceptionSafety::checkRethrowCopy. Local fix to avoid accessing NULL-token 2015-05-28 21:12:02 +02:00
checkexceptionsafety.h Partial fix for #6656 (Allow that CWE is mapped for error message) 2015-04-25 17:48:11 +02:00
checkinternal.cpp Added pointer to Type to Token (similar to Token::Variable() and Token::function()): 2015-08-15 11:19:21 +02:00
checkinternal.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkio.cpp Fixed false positive seekOnAppendedFile if FILE* is reused (#6566) 2015-10-13 15:32:13 +02:00
checkio.h CheckIO: Refactoring. Split out CheckIO::checkFormatString() from CheckIO::checkWrongPrintfScanfArguments(). 2015-10-10 20:08:15 +02:00
checkleakautovar.cpp CheckLeakAutoVar: updated handling of unknown types in C++ 2015-08-11 12:41:42 +02:00
checkleakautovar.h Removed standalone check CheckOther::checkDoubleFree(), integrated (most of) the functionality into CheckLeakAutoVar. Added support for new/delete to checkLeakAutoVar. 2015-01-28 17:38:43 +01:00
checkmemoryleak.cpp Refactorization: Reordered conditions - simplematch is cheaper than findsimplematch 2015-10-19 09:01:21 +02:00
checkmemoryleak.h Removed simplifyIfNot simplification (#6072) 2015-07-21 20:56:47 +02:00
checknonreentrantfunctions.cpp Remove some code checking for invalid class hierarchy which got obsolete since 480a5672b0. Run astyle 2015-07-01 07:50:13 +02:00
checknonreentrantfunctions.h Remove some code checking for invalid class hierarchy which got obsolete since 480a5672b0. Run astyle 2015-07-01 07:50:13 +02:00
checknullpointer.cpp Fixed #6988 (incorrect nullPointer error for string) 2015-09-13 10:53:05 +02:00
checknullpointer.h Assign different IDs for different nullPointer messages (#6166) 2015-07-23 14:53:18 +02:00
checkobsolescentfunctions.cpp Refactorized CheckObsoleteFunctions: 2015-08-11 14:57:23 +02:00
checkobsolescentfunctions.h Refactorized CheckObsoleteFunctions: 2015-08-11 14:57:23 +02:00
checkother.cpp Fixed false positive unreachableCode when ternary operator is used (#6664) 2015-10-26 08:29:43 +01:00
checkother.h New check: Detect unused 'goto' labels (#5124) 2015-08-30 16:45:47 +02: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 sizeofCalculation: skip if void-casted inside a macro (#6888) 2015-09-28 14:33:29 +02:00
checksizeof.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
checkstl.cpp Explicit continue, better variable name 2015-10-14 15:06:04 +03:00
checkstl.h Refactorization: Cleaned up after ExecutionPath removal 2015-07-23 20:37:09 +02:00
checkstring.cpp Added dot at end of stringLiteralWrite message 2015-10-19 09:01:21 +02:00
checkstring.h stringLiteralWrite: Updated error message 2015-06-05 14:34:13 +02:00
checktype.cpp Refactorizations: 2015-08-16 10:33:51 +02:00
checktype.h Removed some unused code 2015-08-15 19:17:25 +02:00
checkuninitvar.cpp Fixed false positive with range-based for-loop (#7078) 2015-10-28 16:37:46 +01:00
checkuninitvar.h Removed the UninitVar::analyseFunctions(). This was written for multifile checking however it did not work as it should => no multifile errors can be detected. 2015-07-24 08:30:38 +02:00
checkunusedfunctions.cpp 2nd attempt to fix crash in CheckUnusedFunctions::check. CheckBufferOverrun::checkBufferAllocatedWithStrlen: Don't check for 'new' in C code. 2015-06-28 18:34:09 +02:00
checkunusedfunctions.h 2nd attempt to fix crash in CheckUnusedFunctions::check. CheckBufferOverrun::checkBufferAllocatedWithStrlen: Don't check for 'new' in C code. 2015-06-28 18:34:09 +02:00
checkunusedvar.cpp Fixed false positive with range-based for-loop (#7075) 2015-10-27 14:47:18 +01:00
checkunusedvar.h Tell if it's struct or union 2015-09-22 17:38:23 +03:00
checkvaarg.cpp CheckVaarg::va_start_subsequentCallsError: fix spelling "inbetween" -> "in between" 2015-08-11 14:03:00 +02: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 Make syntaxError suppressable (fixes #5917 and #7076) 2015-10-28 20:53:35 +02:00
cppcheck.h Exit code shall indicate that an internal error (syntax error) has been found. Add some const. Run astyle 2015-05-25 21:15:55 +02:00
cppcheck.vcxproj Updated VS solution with VS2015 as default. Added flags /Zc:inline and /Zc:throwingNew. 2015-09-04 14:30:54 +02:00
cppcheck.vcxproj.filters Add new files to VS project 2015-08-03 08:38:38 +02:00
cxx11emu.h cppcheck compilation fails with g++4.6.3 (#5929). Patch supplied by mavik1 2015-05-01 16:25:27 +02:00
errorlogger.cpp Further fix search replace 2015-09-02 17:06:19 +03:00
errorlogger.h Refactoring: missing include added, (potential) multi-threading issue fixed, expose static method to allow unit testing 2015-06-18 19:07:51 +02:00
lib.pri Refactoring: Move some AST related functions to distinct source file 2015-08-02 21:57:32 +02:00
library.cpp Library: return true from Library::isnullargbad() for format string arguments. Related with #7012. 2015-10-03 20:51:45 +02:00
library.h Library: return true from Library::isnullargbad() for format string arguments. Related with #7012. 2015-10-03 20:51:45 +02:00
matchcompiler.h Fixed #6716 (Performance: Alternative String Representation in Match Compiler) 2015-06-07 16:21:06 +02:00
mathlib.cpp Refactorizations: 2015-08-16 10:33:51 +02:00
mathlib.h MathLib::isFloat now detects C99 hexadecimal float literals. MathLib::isDecimalFloat was added for C++ and pre-C99 compatibility. 2015-07-26 19:21:53 +02:00
path.cpp Better handle double slashes, more tests 2015-02-16 13:11:13 +03:00
path.h Refactorized file listing code (CLI): 2015-07-23 14:28:17 +02:00
pcrerules.pri
preprocessor.cpp Revert "Removed bailout in case a file (without include guards) is included twice. (#5455)" 2015-10-26 21:37:08 +01:00
preprocessor.h Fixed #6617 (preprocessor performance improvement) 2015-07-24 13:30:41 +02:00
settings.cpp Refactorizations: 2015-08-16 10:33:51 +02:00
settings.h Revert "Add a dynamic rule enable/disable system" 2015-10-09 21:56:19 +02:00
standards.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
suppressions.cpp Refactorizations: 2015-08-16 10:33:51 +02:00
suppressions.h Fix false negatives for local suppressions 2015-01-20 18:47:30 +01:00
symboldatabase.cpp Support range-based for-loop in SymbolDatabase 2015-10-26 19:20:42 +01:00
symboldatabase.h ValueType: struct member 2015-10-11 10:48:08 +02:00
templatesimplifier.cpp Correct template syntax check which got introduced by an attempt fix #6865. Disable test for #6865, adjust some modified tests and add new regression tests 2015-10-19 20:03:33 +02:00
templatesimplifier.h Cure some doxygen warnings 2015-08-30 20:12:02 +02:00
timer.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
timer.h Refactorization: Avoid including path.h in (almost) every source file (via library.h) 2015-03-11 22:54:45 +01:00
token.cpp Fixed crash on garbage code (#7074) 2015-10-26 13:29:47 +01:00
token.h Fixed #7014 (False positive for printf("%c", "hello"[0])) 2015-10-05 10:12:30 +02:00
tokenize.cpp Refactorization: Simplified Tokenizer::simplifyAddBracesToCommand() and Tokenizer::simplifyAddBracesPair() 2015-10-27 20:04:34 +01:00
tokenize.h #7062 Remove unnecessaryQualification check 2015-10-18 17:00:09 +02:00
tokenlist.cpp Fixed #7065 (AST: More explicit handling of lambda functions, generate ast for ';new Fred;') 2015-10-20 23:55:29 +02:00
tokenlist.h Refactorization: Simplified code in tokenlist.cpp, token.cpp and testthreadexecutor.cpp 2015-10-19 09:01:20 +02:00
utils.h Refactorization: Implemented rValue-reference- and "const char*"-overload to make_container::operator<< 2015-08-11 14:05:01 +02:00
valueflow.cpp Fixed #6239 (Possible null pointer dereference after pointer is modified by a function template) 2015-10-27 12:33:46 +01:00
valueflow.h Added missing include to valueflow.h 2015-10-07 14:42:10 +02:00
version.h Set version to 1.70.99/1.71 dev 2015-09-04 21:10:05 +02:00
version.rc