cppcheck/lib
Tyson Nottingham d6a70d27c7 Fix false negatives in checkAssignBoolToFloat and minor related improvements (#2198)
* Fix false negatives in checkAssignBoolToFloat

Detect assignments to expressions involving pointer dereferences, array
element accesses, etc.

* Pass assignment token to assignBoolToFloatError

Pass assignment token rather than boolean token to make error reporting
consistent between checkAssignBoolToFloat and checkAssignBoolToPointer,
as well as with other assignment checks in the code base.

* Make checkAssignBoolToPointer check consistent with checkAssignBoolToFloat
2019-09-21 08:24:54 +02:00
..
CMakeLists.txt
analyzerinfo.cpp
analyzerinfo.h
astutils.cpp
astutils.h
check.cpp Updated copyright year 2019-09-01 11:49:43 +02:00
check.h deleted methods should be public (#2193) 2019-09-20 21:58:09 +02:00
check64bit.cpp
check64bit.h
checkassert.cpp
checkassert.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
checkautovariables.cpp
checkautovariables.h
checkbool.cpp Fix false negatives in checkAssignBoolToFloat and minor related improvements (#2198) 2019-09-21 08:24:54 +02:00
checkbool.h
checkboost.cpp
checkboost.h
checkbufferoverrun.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
checkbufferoverrun.h
checkclass.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
checkclass.h
checkcondition.cpp Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
checkcondition.h Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
checkexceptionsafety.cpp
checkexceptionsafety.h
checkfunctions.cpp
checkfunctions.h
checkinternal.cpp
checkinternal.h
checkio.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
checkio.h
checkleakautovar.cpp do not access static methods through instance (#2189) 2019-09-20 21:54:30 +02:00
checkleakautovar.h
checkmemoryleak.cpp
checkmemoryleak.h
checknullpointer.cpp
checknullpointer.h
checkother.cpp
checkother.h
checkpostfixoperator.cpp
checkpostfixoperator.h
checksizeof.cpp
checksizeof.h
checkstl.cpp Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
checkstl.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
checkstring.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
checkstring.h
checktype.cpp
checktype.h
checkuninitvar.cpp Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
checkuninitvar.h
checkunusedfunctions.cpp
checkunusedfunctions.h do not access static methods through instance (#2189) 2019-09-20 21:54:30 +02:00
checkunusedvar.cpp
checkunusedvar.h
checkvaarg.cpp
checkvaarg.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
config.h
cppcheck.cpp do not access static methods through instance (#2189) 2019-09-20 21:54:30 +02:00
cppcheck.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
cppcheck.natvis
cppcheck.vcxproj
cppcheck.vcxproj.filters
ctu.cpp Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
ctu.h
errorlogger.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
errorlogger.h Fixed #9260 (--template=gcc does not work correctly with -j) 2019-08-18 16:33:32 +02:00
exprengine.cpp ExprEngine: Better handling of conditions 2019-09-20 21:27:51 +02:00
exprengine.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
importproject.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
importproject.h
lib.pri
library.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
library.h
matchcompiler.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
mathlib.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
mathlib.h
path.cpp
path.h
pathmatch.cpp
pathmatch.h
pcrerules.pri
platform.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
platform.h
preprocessor.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
preprocessor.h
settings.cpp
settings.h use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
standards.h
suppressions.cpp
suppressions.h
symboldatabase.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
symboldatabase.h use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
templatesimplifier.cpp Fixed #9046 syntaxError (#2180) 2019-09-20 12:35:01 +02:00
templatesimplifier.h
timer.cpp
timer.h
token.cpp Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
token.h do not access static methods through instance (#2189) 2019-09-20 21:54:30 +02:00
tokenize.cpp do not access static methods through instance (#2189) 2019-09-20 21:54:30 +02:00
tokenize.h deleted methods should be public (#2193) 2019-09-20 21:58:09 +02:00
tokenlist.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
tokenlist.h template simplifier: fix new daca crashes (#2093) 2019-08-17 07:38:07 +02:00
utils.h Updated copyright year 2019-09-01 11:49:43 +02:00
valueflow.cpp Fix issue 9361: false positive: (style) Condition 'isdigit(c)!=0' is always true (#2199) 2019-09-21 08:19:54 +02:00
valueflow.h astyle formatting 2019-09-20 15:07:27 +02:00
version.h
version.rc