cppcheck/lib
Paul Fultz II d858bfc338
Fix issue 9599: False positive: Using object that points to local variable that may be invalid (#2530)
* Fix issue 9599: False positive: Using object that points to local variable that may be invalid

* Improve tests

* Skip else
2020-02-11 11:45:10 +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 Fix issue 9599: False positive: Using object that points to local variable that may be invalid (#2530) 2020-02-11 11:45:10 +01:00
astutils.h Fix issue 9599: False positive: Using object that points to local variable that may be invalid (#2530) 2020-02-11 11:45:10 +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 Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
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 Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
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 Removing check hidingInheritedPublic (#2482) 2020-01-09 06:53:08 +01:00
checkclass.h Removing check hidingInheritedPublic (#2482) 2020-01-09 06:53:08 +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 Clang import 2020-01-25 17:01:17 +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 Refactoring; CWEs should be clarified 2020-01-01 09:09:10 +01:00
checknullpointer.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkother.cpp Fix redundant FP assignment with unsigned zero (#2521) 2020-02-09 11:16:08 +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 9599: False positive: Using object that points to local variable that may be invalid (#2530) 2020-02-11 11:45:10 +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 Clang import; Fix crash 2020-02-02 12:13:19 +01:00
clangimport.h Clang import; Rename files/namespace 2020-01-10 16:29:06 +01:00
config.h Use "override" keyword in clang (#2459) 2019-12-25 18:19:00 +03: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 Clang import; Rename files/namespace 2020-01-10 16:29: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 remove BUG_HUNTING_UNINIT conditionals 2020-02-10 21:43:06 +01:00
exprengine.h verificationUninit: ignore bailout values until it's less noisy 2020-01-12 14:52:15 +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 Clang import; Rename files/namespace 2020-01-10 16:29: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 Fix issue 9599: False positive: Using object that points to local variable that may be invalid (#2530) 2020-02-11 11:45:10 +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 Clang; Run ValueFlow 2020-01-11 14:00:41 +01:00
programmemory.h astyle formatting 2019-10-30 18:19:45 +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 Fix redundant FP assignment with unsigned zero (#2521) 2020-02-09 11:16:08 +01:00
symboldatabase.h Clang import; distinguish static variable 2020-01-27 13:00:52 +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 Tokenizer::setVarId: better handling of decltype() 2020-01-29 17:40:22 +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 Fix issue 9597: False positive: Reference to temporary returned if explicitly casted to base class (#2531) 2020-02-11 11:41:41 +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 Fix issue 9595: False positive: Using pointer to temporary doesn't account for const ref extended temporary lifetimes (#2525) 2020-02-10 18:01:11 +01:00
valueflow.h Fix issue 6890: ValueFlow: min/max value for variable, after condition (#2460) 2019-12-26 15:47:53 +01:00
version.h Set version 2019-12-21 11:49:01 +01:00
version.rc