cppcheck/lib
Ken-Patrick Lehrmann 5f73e1cb32 Fix 9546: properly check that the bound is the size (#2475)
Previously, as the check was done on the token and not on the ast,
`i <= v.size()` and `i <= v.size() - 2` would both raise the same
warning.

This patch fixes this, but this mean the check is only done when the
condition if `i <= v.size()`. Any other (more complex) condition is
ignore, and so we have false negative for instance with
 `i <= v.size() + 1`.
2020-01-05 16:24:25 +01:00
..
CMakeLists.txt
analyzerinfo.cpp
analyzerinfo.h
astutils.cpp
astutils.h
check.cpp
check.h
check64bit.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
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 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
checkboost.cpp
checkboost.h
checkbufferoverrun.cpp
checkbufferoverrun.h Fix Cppcheck warnings 2019-06-15 13:01:45 +02:00
checkclass.cpp
checkclass.h
checkcondition.cpp
checkcondition.h
checkexceptionsafety.cpp
checkexceptionsafety.h
checkfunctions.cpp
checkfunctions.h
checkinternal.cpp CheckInternal: Extend redundant null pointer check before Token::Match() (#1789) 2019-04-06 07:44:44 +02:00
checkinternal.h
checkio.cpp
checkio.h
checkleakautovar.cpp
checkleakautovar.h Fix #7031 (improve error message for memory related warnings) (#2204) 2019-09-22 21:50:02 +02:00
checkmemoryleak.cpp Avoid some additional memleakOnRealloc false positives (#2422) 2019-12-04 12:13:44 +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
checkother.cpp
checkother.h
checkpostfixoperator.cpp
checkpostfixoperator.h
checksizeof.cpp Update Copyright 2019-06-29 07:49:14 +02:00
checksizeof.h
checkstl.cpp
checkstl.h
checkstring.cpp
checkstring.h
checktype.cpp
checktype.h
checkuninitvar.cpp
checkuninitvar.h
checkunusedfunctions.cpp
checkunusedfunctions.h
checkunusedvar.cpp
checkunusedvar.h
checkvaarg.cpp Update copyright year 2019-02-09 07:24:06 +01:00
checkvaarg.h
clangastdump.cpp
clangastdump.h Import Clang ast dump (experimental) 2020-01-05 15:12:53 +01:00
config.h
cppcheck.cpp
cppcheck.h
cppcheck.natvis
cppcheck.vcxproj
cppcheck.vcxproj.filters cppcheck.vcxproj.filters: Also update this Visual Studio file 2019-10-31 09:05:58 +01:00
ctu.cpp
ctu.h CTU: Add 'column' 2019-09-12 10:46:33 +02:00
errorlogger.cpp
errorlogger.h Refactoring; CWEs should be clarified 2020-01-01 09:09:10 +01:00
exprengine.cpp
exprengine.h
importproject.cpp
importproject.h astyle formatting 2019-08-12 12:54:25 +02:00
lib.pri Import Clang ast dump (experimental) 2020-01-05 15:12:53 +01:00
library.cpp
library.h
matchcompiler.h
mathlib.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
mathlib.h
path.cpp
path.h
pathanalysis.cpp
pathanalysis.h
pathmatch.cpp
pathmatch.h
pcrerules.pri
platform.cpp
platform.h Updated copyright year 2019-09-01 11:49:43 +02:00
preprocessor.cpp
preprocessor.h
programmemory.cpp
programmemory.h
settings.cpp
settings.h Import Clang ast dump (experimental) 2020-01-05 15:12:53 +01:00
standards.h
suppressions.cpp
suppressions.h
symboldatabase.cpp
symboldatabase.h
templatesimplifier.cpp
templatesimplifier.h
timer.cpp
timer.h
token.cpp
token.h
tokenize.cpp
tokenize.h
tokenlist.cpp
tokenlist.h
utils.h
valueflow.cpp
valueflow.h
version.h
version.rc