cppcheck/lib
Rikard Falkeborn 4996ec190e Fix #9652 (fp memleak with function call with cast)
When the first argument was (void *)(1), at the start of the second
iteration, arg was pointing to the "1", which caused problems for
nextArgument(), which saw the ")" as the next token and returned
nullptr, signalling that there are no more arguments.

Instead, save the first token in the argument, which makes
nextArgument() do the right thing.
2020-07-08 00:02:39 +02:00
..
CMakeLists.txt Add option to disable pch since its broken with ccache 2020-06-24 18:41:16 -05:00
analyzerinfo.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
analyzerinfo.h Update copyright year 2020-06-13 16:37:12 +02:00
astutils.cpp Fixed compiler warning 2020-07-03 17:54:55 +02:00
astutils.h Fixed testrunner 2020-06-29 21:53:14 +02:00
bughuntingchecks.cpp Bug hunting; Fixed false positives for containers 2020-06-28 22:49:51 +02:00
bughuntingchecks.h Add 'bughuntingchecks' 2020-06-19 13:16:48 +02:00
check.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
check.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
check64bit.cpp Update copyright year 2020-06-13 16:37:12 +02:00
check64bit.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkassert.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkassert.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
checkautovariables.cpp Fix issue 9587: False positive: parameter can be declared with const (#2667) 2020-05-31 10:10:10 +02:00
checkautovariables.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkbool.cpp Use ValueFlow for compareBoolExpressionWithInt 2020-06-27 08:13:22 +02:00
checkbool.h Use ValueFlow for compareBoolExpressionWithInt 2020-06-27 08:13:22 +02:00
checkboost.cpp Update copyright year 2020-06-13 16:37:12 +02:00
checkboost.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkbufferoverrun.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkbufferoverrun.h Update copyright year 2020-05-10 11:16:32 +02:00
checkclass.cpp Fixed #6471 (FP functionConst - member function modifying member variable after cast (inconclusive)) 2020-06-29 13:09:01 +02:00
checkclass.h Removed CheckClass::operatorEq: does not 'belong' 2020-06-17 20:35:43 +02:00
checkcondition.cpp Fixed #8858 (FP: identicalConditionAfterEarlyExit when there is #if) 2020-07-01 07:48:32 +02:00
checkcondition.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkexceptionsafety.cpp exceptRethrowCopy: Fixed FP in Cppcheck 2020-06-22 12:26:41 +02:00
checkexceptionsafety.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkfunctions.cpp do not report locally declared functions as missing configuration for --check-library 2020-06-18 14:49:19 +02:00
checkfunctions.h Update copyright year 2020-06-13 16:37:12 +02:00
checkinternal.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkinternal.h Update copyright year 2020-05-10 11:16:32 +02:00
checkio.cpp Update copyright year 2020-05-10 11:16:32 +02:00
checkio.h Update copyright year 2020-06-13 16:37:12 +02:00
checkleakautovar.cpp Fix #9652 (fp memleak with function call with cast) 2020-07-08 00:02:39 +02:00
checkleakautovar.h Update copyright year 2020-06-13 16:37:12 +02:00
checkmemoryleak.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkmemoryleak.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checknullpointer.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checknullpointer.h Update copyright year 2020-06-13 16:37:12 +02:00
checkother.cpp Fixed #7733 (False positive: scope of the variable can be reduced (variable is used in hidden code)) 2020-07-01 08:24:52 +02:00
checkother.h Fixed #6978 (False positive: unusedLabel shown for labels that are used in some preprocessor configurations) 2020-06-30 18:26:24 +02:00
checkpostfixoperator.cpp Update copyright year 2020-06-13 16:37:12 +02:00
checkpostfixoperator.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checksizeof.cpp Update copyright year 2020-06-13 16:37:12 +02:00
checksizeof.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkstl.cpp Extend mutex checking for more locking patterns 2020-06-26 15:06:20 -05:00
checkstl.h Fixed #9787 (Better handling of user defined literals) 2020-06-25 22:06:34 +02:00
checkstring.cpp Update copyright year 2020-06-13 16:37:12 +02:00
checkstring.h Checkstring fixes (#1783) 2019-04-06 06:54:38 +02:00
checktype.cpp Update copyright year 2020-06-13 16:37:12 +02:00
checktype.h Clarify signConversion warning message 2019-08-05 12:41:08 +02:00
checkuninitvar.cpp Library: Refactoring <alloc> init attribute 2020-06-28 21:01:43 +02:00
checkuninitvar.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkunusedfunctions.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkunusedfunctions.h Silence unused variable warning (#2223) 2019-09-27 08:19:45 +02:00
checkunusedvar.cpp Fixed #3088 (False positive: Dont report "struct or union member is never used" for structs with __attribute__((packed)) or #pragma pack(push)) 2020-06-30 11:00:40 +02:00
checkunusedvar.h Update copyright year 2020-05-10 11:16:32 +02:00
checkvaarg.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkvaarg.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
clangimport.cpp Refactorization: Fixed a couple of compiler warnings about reusing variable names 2020-05-19 08:35:12 +02:00
clangimport.h Clang import; Rename files/namespace 2020-01-10 16:29:06 +01:00
config.h Replace noreturn with macro 2020-06-29 15:54:51 -05:00
cppcheck.cpp Fixed #3088 (False positive: Dont report "struct or union member is never used" for structs with __attribute__((packed)) or #pragma pack(push)) 2020-06-30 11:00:40 +02:00
cppcheck.h Revert "Cleanup: Removed Tokenizer::simplifyTokenList2. As a side-effect, rules for "simple" token list are now executed on normal token list." (#2666) 2020-05-30 11:23:22 +02:00
cppcheck.natvis Fixed Visual Studio Natvis file after recent refactoring (#1299) 2018-07-09 08:27:26 +02:00
cppcheck.vcxproj Try to fix compilation with cppcheck.vcxproj 2020-06-20 09:47:35 +02:00
cppcheck.vcxproj.filters Visual Studio: Use new files precompiled.h with several common includes for core and testrunner. 2020-05-29 12:16:04 +02:00
ctu.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
ctu.h Update copyright year 2020-06-13 16:37:12 +02:00
errorlogger.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
errorlogger.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
errortypes.cpp astyle formatting 2020-05-23 07:30:22 +02:00
errortypes.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
exprengine.cpp Fixed testrunner 2020-06-29 21:53:14 +02:00
exprengine.h ExprEngine; Improved handling of for loop, loop variable 2020-06-28 17:28:40 +02:00
forwardanalyzer.cpp Running astyle [ci skip] 2020-06-14 10:06:54 +02:00
forwardanalyzer.h cleaned up includes based on include-what-you-use (#2632) 2020-05-10 16:45:45 +02:00
importproject.cpp Use value temp.maxTemplateRecursion 2020-06-27 12:57:09 +02:00
importproject.h GUI: Add configuration for max recursion in template instantiation 2020-06-26 17:12:02 +02:00
lib.pri Add 'bughuntingchecks' 2020-06-19 13:16:48 +02:00
library.cpp Library: Refactoring <alloc> init attribute 2020-06-28 21:01:43 +02:00
library.h Library: Refactoring <alloc> init attribute 2020-06-28 21:01:43 +02:00
matchcompiler.h
mathlib.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
mathlib.h Update copyright year 2019-02-09 07:24:06 +01:00
path.cpp Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
path.h Update copyright year 2019-02-09 07:24:06 +01:00
pathanalysis.cpp Refactorization: Moved code from header to source 2020-05-19 08:35:12 +02:00
pathanalysis.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
pathmatch.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
pathmatch.h Updated copyright year 2018-10-13 18:20:31 +02:00
pcrerules.pri
platform.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
platform.h Update copyright year 2020-05-10 11:16:32 +02:00
precompiled.h Visual Studio: Use new files precompiled.h with several common includes for core and testrunner. 2020-05-29 12:16:04 +02:00
preprocessor.cpp made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
preprocessor.h Fixed #3088 (False positive: Dont report "struct or union member is never used" for structs with __attribute__((packed)) or #pragma pack(push)) 2020-06-30 11:00:40 +02:00
programmemory.cpp Fixed compilation (next attempt): Added more missing includes 2020-05-19 08:53:38 +02:00
programmemory.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
settings.cpp Template simplifier; Write information message when recursion limit is reached. 2020-06-24 20:30:03 +02:00
settings.h Template simplifier; Write information message when recursion limit is reached. 2020-06-24 20:30:03 +02:00
standards.h Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
suppressions.cpp Update copyright year 2020-05-10 11:16:32 +02:00
suppressions.h Update copyright year 2020-05-10 11:16:32 +02:00
symboldatabase.cpp Mark syntax error functions as noreturn 2020-06-29 15:33:25 -05:00
symboldatabase.h Fix issue 9587: False positive: parameter can be declared with const (#2667) 2020-05-31 10:10:10 +02:00
templatesimplifier.cpp Remove redundant conditions 2020-06-29 15:13:06 -05:00
templatesimplifier.h Resolve C4800 Visual C++ warning 2019-12-16 18:11:12 +03:00
timer.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
timer.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
token.cpp Merge pull request #2696 from pfultz2/getTokenArgumentFunction-ast 2020-06-26 09:50:18 +02:00
token.h optimized non-matchcompiled Token::simpleMatch() a bit (#2640) 2020-05-26 20:13:56 +02:00
tokenize.cpp Fixed #6978 (False positive: unusedLabel shown for labels that are used in some preprocessor configurations) 2020-06-30 18:26:24 +02:00
tokenize.h Fixed #6978 (False positive: unusedLabel shown for labels that are used in some preprocessor configurations) 2020-06-30 18:26:24 +02:00
tokenlist.cpp AST; Improved ast for variable declaration with assignment 2020-06-22 08:34:31 +02:00
tokenlist.h Fixed Token::isKeyword: Actually set this flag to a reasonable value in all code paths 2020-05-19 13:47:25 +02:00
utils.cpp Refactorization: Moved code from header to source 2020-05-19 08:35:12 +02:00
utils.h Fixed compilation (next attempt): Added more missing includes 2020-05-19 08:53:38 +02:00
valueflow.cpp Merge pull request #2700 from pfultz2/afterConditionFunction 2020-06-30 08:28:08 +02:00
valueflow.h Fix issue 9587: False positive: parameter can be declared with const (#2667) 2020-05-31 10:10:10 +02:00
valueptr.h Update copyright year 2020-05-10 11:16:32 +02:00
version.h Set version to 2.1.99 / 2.2 dev 2020-06-14 07:16:14 +02:00
version.rc