cppcheck/lib
Ken-Patrick Lehrmann 7044c17599
9575: false positive in fclose (#2540)
Fix false positive introduced by
0b7649ca9b

Only return the function token from checkTokenInsideExpression when it
might be one the argument (hence keeping a pointer to one of them).
Otherwise, we can directly skip to the token after the function call.
2020-02-17 10:25:30 +01:00
..
CMakeLists.txt CMake: Find header in externals, e.g. externals/picojson.h 2019-04-22 18:52:02 +02:00
analyzerinfo.cpp GUI: Generate Clang files 2020-02-02 11:05:30 +01:00
analyzerinfo.h Updated copyright year 2018-10-13 18:20:31 +02:00
astutils.cpp Use valueFlowGeneric for valueFlowForwardExpression (#2537) 2020-02-16 16:02:22 +01:00
astutils.h Use valueFlowGeneric for valueFlowForwardExpression (#2537) 2020-02-16 16:02:22 +01:00
check.cpp Moved function from .h to .cpp 2019-12-21 11:55:11 +01:00
check.h Refactoring; Avoid templates 2020-02-01 08:52:34 +01:00
check64bit.cpp
check64bit.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkassert.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkassert.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
checkautovariables.cpp Code cleanup 2020-01-25 18:11:54 +01:00
checkautovariables.h Extend lifetime checking to temporaries (#2242) 2019-10-08 09:28:39 +02:00
checkbool.cpp Fixed #9405 (false positive: (style, inconclusive) Boolean expression 'dqOpen' is used in bitwise operation. Did you mean '&&') 2019-12-20 19:38:30 +01:00
checkbool.h Fix false negatives in checkBitwiseOnBoolean (#2220) 2019-10-06 09:57:31 +02:00
checkboost.cpp
checkboost.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkbufferoverrun.cpp Refactoring; Reuse variable typeSize 2020-01-19 09:17:38 +01:00
checkbufferoverrun.h Fix Cppcheck warnings 2019-06-15 13:01:45 +02:00
checkclass.cpp checkVirtualFunctionCallInConstructor; Check should be 'style' since there is no UB. Disabled the check temporarily, it should use CTU to determine if the class is a base class 2020-02-14 17:10:12 +01:00
checkclass.h checkVirtualFunctionCallInConstructor; Check should be 'style' since there is no UB. Disabled the check temporarily, it should use CTU to determine if the class is a base class 2020-02-14 17:10:12 +01:00
checkcondition.cpp astyle formatting 2020-01-04 18:47:05 +01:00
checkcondition.h Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
checkexceptionsafety.cpp Refactoring; Use range for loops 2018-07-14 09:49:03 +02:00
checkexceptionsafety.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkfunctions.cpp Fix redundant FP assignment with unsigned zero (#2521) 2020-02-09 11:16:08 +01:00
checkfunctions.h Replace 'unsigned' with 'nonneg' in checkfunctions 2019-07-16 08:49:02 +02:00
checkinternal.cpp CheckInternal: Extend redundant null pointer check before Token::Match() (#1789) 2019-04-06 07:44:44 +02:00
checkinternal.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkio.cpp Fix #8489 (Fix FN printf argument with parenthesis) (#2508) 2020-01-27 06:55:01 +01:00
checkio.h replace 'unsigned' with 'nonneg' in checkio 2019-07-16 08:37:26 +02:00
checkleakautovar.cpp 9575: false positive in fclose (#2540) 2020-02-17 10:25:30 +01:00
checkleakautovar.h Fix #7031 (improve error message for memory related warnings) (#2204) 2019-09-22 21:50:02 +02:00
checkmemoryleak.cpp Clang import 2020-01-25 17:01:17 +01:00
checkmemoryleak.h Memleak: Refactor check to separate function (#2079) 2019-08-13 13:00:59 +02:00
checknullpointer.cpp Add generic valueflow forward analysis (#2511) 2020-02-13 16:27:06 +01:00
checknullpointer.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkother.cpp minor tweaks of knownConditionTrueFalse 2020-02-15 20:21:13 +01:00
checkother.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkpostfixoperator.cpp Refactoring: Use ranged for loop 2018-07-13 16:50:12 +02:00
checkpostfixoperator.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checksizeof.cpp Update Copyright 2019-06-29 07:49:14 +02:00
checksizeof.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkstl.cpp Fix issue 9598: False positive: Using iterator to local container that may be invalid for loop handling (#2539) 2020-02-16 15:56:52 +01:00
checkstl.h Use lifetime analysis for checking mismatching containers (#2456) 2019-12-25 09:32:50 +01:00
checkstring.cpp Set correct type and size of string and char literals (#2275) 2019-10-20 07:11:57 +02:00
checkstring.h Checkstring fixes (#1783) 2019-04-06 06:54:38 +02:00
checktype.cpp Fix severity of c++14 shifts with too many bits (#2213) 2019-09-25 20:16:04 +02:00
checktype.h Clarify signConversion warning message 2019-08-05 12:41:08 +02:00
checkuninitvar.cpp Fixed #9594 (False positive: Using argument that points at uninitialized variable when write only) 2020-02-04 18:56:18 +01:00
checkuninitvar.h Clang import 2020-01-25 17:01:17 +01:00
checkunusedfunctions.cpp Fixed #8580 (False positive: unused function (lambda)) 2019-04-27 17:17:51 +02:00
checkunusedfunctions.h Silence unused variable warning (#2223) 2019-09-27 08:19:45 +02:00
checkunusedvar.cpp Fix redundant FP assignment with unsigned zero (#2521) 2020-02-09 11:16:08 +01:00
checkunusedvar.h Clarify error msg for hidingInheritedPublic (#2474) 2020-01-05 09:32:39 +01:00
checkvaarg.cpp Clang import 2020-01-25 17:01:17 +01:00
checkvaarg.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
clangimport.cpp Fixed #9600 (false positive: compareBoolExpressionWithInt with --clang) 2020-02-15 14:45:12 +01:00
clangimport.h Clang import; Rename files/namespace 2020-01-10 16:29:06 +01:00
config.h Add generic valueflow forward analysis (#2511) 2020-02-13 16:27:06 +01:00
cppcheck.cpp CLI: add -isystem include paths when running Clang 2020-02-02 16:35:42 +01:00
cppcheck.h Support clang tidy (#2486) 2020-01-30 07:14:17 +01:00
cppcheck.natvis Fixed Visual Studio Natvis file after recent refactoring (#1299) 2018-07-09 08:27:26 +02:00
cppcheck.vcxproj Add generic valueflow forward analysis (#2511) 2020-02-13 16:27:06 +01:00
cppcheck.vcxproj.filters Clang import; Rename files/namespace 2020-01-10 16:29:06 +01:00
ctu.cpp Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
ctu.h CTU: Add 'column' 2019-09-12 10:46:33 +02:00
errorlogger.cpp Import Clang ast dump (experimental) 2020-01-05 15:12:53 +01:00
errorlogger.h Rename Verification => Bughunting 2020-01-18 07:25:57 +01:00
exprengine.cpp Use valueFlowGeneric for valueFlowForwardExpression (#2537) 2020-02-16 16:02:22 +01:00
exprengine.h verificationUninit: ignore bailout values until it's less noisy 2020-01-12 14:52:15 +01:00
forwardanalyzer.cpp Use valueFlowGeneric for valueFlowForwardExpression (#2537) 2020-02-16 16:02:22 +01:00
forwardanalyzer.h astyle formatting 2020-02-13 17:04:05 +01:00
importproject.cpp CLI: add -isystem include paths when running Clang 2020-02-02 16:35:42 +01:00
importproject.h GUI: Simple first hack to allow bughunting in the GUI 2020-02-04 21:20:43 +01:00
lib.pri Add generic valueflow forward analysis (#2511) 2020-02-13 16:27:06 +01:00
library.cpp Verification; Check function argument values 2019-12-23 22:10:43 +01:00
library.h Verification; Check function argument values 2019-12-23 22:10:43 +01:00
matchcompiler.h
mathlib.cpp Fix redundant FP assignment with unsigned zero (#2521) 2020-02-09 11:16:08 +01: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 Add generic valueflow forward analysis (#2511) 2020-02-13 16:27:06 +01:00
pathanalysis.h Refactoring; Remove unused function 2020-02-01 08:34:36 +01: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 Updated copyright year 2019-09-01 11:49:43 +02:00
preprocessor.cpp Thread safety: use std::atomic for global flags 2019-12-19 18:38:22 +01:00
preprocessor.h Update Copyright year 2019-12-21 11:23:01 +01:00
programmemory.cpp Run dmake and astyle 2020-02-16 19:58:09 +01:00
programmemory.h Use valueFlowGeneric for valueFlowForwardExpression (#2537) 2020-02-16 16:02:22 +01:00
settings.cpp Support clang tidy (#2486) 2020-01-30 07:14:17 +01:00
settings.h GUI: Tweak ProjectFileDialog: Bug hunting, safe class checking 2020-02-09 21:02:28 +01:00
standards.h Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
suppressions.cpp Ticket 5607: Allow to exclude folders with glob pattern (#2498) 2020-01-24 07:06:09 +01:00
suppressions.h Ticket 5607: Allow to exclude folders with glob pattern (#2498) 2020-01-24 07:06:09 +01:00
symboldatabase.cpp Use valueFlowGeneric for valueFlowForwardExpression (#2537) 2020-02-16 16:02:22 +01:00
symboldatabase.h SymbolDatabase; Set smart pointer type in Variable valueType 2020-02-14 09:40:27 +01:00
templatesimplifier.cpp fix daca chromium crash (#2527) 2020-02-09 11:19:36 +01: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 Fixed crash when printing out ValueFlow debug output 2020-01-20 08:11:57 +01:00
token.h Refactoring; Avoid template<> 2020-02-01 08:20:20 +01:00
tokenize.cpp Fixed #9618 (isCast flag not set for c++ casts) 2020-02-16 16:46:40 +01:00
tokenize.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
tokenlist.cpp Travis: Use simpleMatch for simple pattern 2020-02-16 21:47:46 +01:00
tokenlist.h Import Clang ast dump (experimental) 2020-01-05 15:12:53 +01:00
utils.h astyle formatting 2020-01-24 21:34:47 +01:00
valueflow.cpp Run dmake and astyle 2020-02-16 19:58:09 +01:00
valueflow.h Fix issue 6890: ValueFlow: min/max value for variable, after condition (#2460) 2019-12-26 15:47:53 +01:00
valueptr.h astyle formatting 2020-02-13 17:04:05 +01:00
version.h Set version 2019-12-21 11:49:01 +01:00
version.rc