cppcheck/lib
Paul Fultz II 8945c151f5
Fix 11124: FP knownConditionTrueFalse with fruit (#4196)
* Update valueType

* Allow comparisons

* Fix compare op

* Add test

* Format

* Fix FP

* Format
2022-06-11 11:02:04 +02:00
..
CMakeLists.txt Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
analyzer.h Fix #11126 FN: noExplicitConstructor with single default parameter (#4174) 2022-06-07 21:15:13 +02:00
analyzerinfo.cpp Update copyright year 2022-02-05 11:45:17 +01:00
analyzerinfo.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
astutils.cpp Fix #10618 FP knownConditionTrueFalse with virtual function (#4194) 2022-06-10 20:17:57 +02:00
astutils.h Fix #11085 FN constVariable with range-based for (#4118) 2022-06-03 19:24:59 +02:00
calculate.h Fix 11053: Integer division by zero in calculate.h (#4092) 2022-05-09 20:27:32 +02:00
check.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
check.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
check64bit.cpp Update copyright year 2022-02-05 11:45:17 +01:00
check64bit.h Update copyright year 2022-05-21 12:18:27 +02:00
checkassert.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkassert.h Update copyright year 2022-05-21 12:18:27 +02:00
checkautovariables.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
checkautovariables.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkbool.cpp Fix #7197 not getting expected warning in relational comparison of booleans (#4095) 2022-05-11 08:09:32 +02:00
checkbool.h Update copyright year 2022-05-21 12:18:27 +02:00
checkboost.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkboost.h Update copyright year 2022-05-21 12:18:27 +02:00
checkbufferoverrun.cpp LCppC backport: Restored Check: Detect negative VLA and allocation (new[]) sizes (#4187) 2022-06-11 09:55:38 +02:00
checkbufferoverrun.h LCppC backport: Restored Check: Detect negative VLA and allocation (new[]) sizes (#4187) 2022-06-11 09:55:38 +02:00
checkclass.cpp Fix #11126 FN: noExplicitConstructor with single default parameter (#4174) 2022-06-07 21:15:13 +02:00
checkclass.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
checkcondition.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
checkcondition.h Fix #11082 FN badBitmaskCheck for binary or with 0 (#4170) 2022-06-04 17:25:10 +02:00
checkexceptionsafety.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkexceptionsafety.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkfunctions.cpp Fixed FP found with daca@home: ftp://ftp.de.debian.org/debian/pool/main/libs/libslirp/libslirp_4.7.0.orig.tar.bz2; head libslirp-v4.7.0/src/tftp.c:336:20: error: Invalid strcasecmp() argument nr 1. A nul-terminated string is required. [invalidFunctionArgStr] 2022-06-04 12:00:54 +02:00
checkfunctions.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkinternal.cpp Update copyright year 2021-09-26 11:34:56 +02:00
checkinternal.h Update copyright year 2022-05-21 12:18:27 +02:00
checkio.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
checkio.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
checkleakautovar.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
checkleakautovar.h Fix #11126 FN: noExplicitConstructor with single default parameter (#4174) 2022-06-07 21:15:13 +02:00
checkmemoryleak.cpp Fix FP memleak (#4145) 2022-05-30 06:55:15 +02:00
checkmemoryleak.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checknullpointer.cpp Fix #11117 FP nullPointerArithmetic when adding 0 (#4167) 2022-06-03 13:11:54 +02:00
checknullpointer.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkother.cpp Fix #10545 FP redundantCopyLocalConst with modified object [inconclusive] (#4197) 2022-06-11 11:01:23 +02:00
checkother.h Update copyright year 2022-05-21 12:18:27 +02:00
checkpostfixoperator.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkpostfixoperator.h Update copyright year 2022-05-21 12:18:27 +02:00
checksizeof.cpp Fix #9648 FP sizeofDivisionMemfunc (#4017) 2022-04-13 18:21:56 +02:00
checksizeof.h Update copyright year 2022-05-21 12:18:27 +02:00
checkstl.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
checkstl.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkstring.cpp checkAlwaysTrueOrFalseStringCompare: Added '_mbscmp_l' to list of functions. 2022-05-25 13:35:39 +02:00
checkstring.h Update copyright year 2022-05-21 12:18:27 +02:00
checktype.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checktype.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkuninitvar.cpp Rename old uninitvar ID to use legacyUninitvar (#4043) 2022-04-27 17:37:37 +02:00
checkuninitvar.h Rename old uninitvar ID to use legacyUninitvar (#4043) 2022-04-27 17:37:37 +02:00
checkunusedfunctions.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
checkunusedfunctions.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
checkunusedvar.cpp Fix #9997 False negative: variable is not used (#4104) 2022-06-07 21:20:33 +02:00
checkunusedvar.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkvaarg.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkvaarg.h Update copyright year 2022-05-21 12:18:27 +02:00
clangimport.cpp enabled and fixed `modernize-use-emplace` clang-tidy warnings (#4165) 2022-06-03 15:09:29 +02:00
clangimport.h Update copyright year 2022-02-05 11:45:17 +01:00
color.cpp Update copyright year 2022-02-05 11:45:17 +01:00
color.h Fix MSVC build and some warnings (#3334) 2021-07-16 21:55:12 +02:00
config.h fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
cppcheck.cpp Tokenizer: Remove simplification of math functions from simplifyTokenList2 2022-06-08 09:58:11 +02:00
cppcheck.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
cppcheck.natvis
cppcheck.vcxproj aligned build options of Visual Studio project configurations and added them to CMake (#4020) 2022-04-21 21:28:29 +02:00
cppcheck.vcxproj.filters Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
ctu.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
ctu.h Fix #9391 False negative: Uninitialized struct member (default constructor) (#4088) 2022-05-09 20:28:21 +02:00
errorlogger.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
errorlogger.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
errortypes.cpp Update copyright year 2022-02-05 11:45:17 +01:00
errortypes.h Update copyright year 2022-02-05 11:45:17 +01:00
forwardanalyzer.cpp Fix #11126 FN: noExplicitConstructor with single default parameter (#4174) 2022-06-07 21:15:13 +02:00
forwardanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
importproject.cpp fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
importproject.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
infer.cpp Update copyright year 2022-02-05 11:45:17 +01:00
infer.h Update copyright year 2022-02-05 11:45:17 +01:00
lib.pri Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
library.cpp ValueType: Added additional unit test (#4185) 2022-06-08 15:27:56 +02:00
library.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
matchcompiler.h Update copyright year 2021-09-26 11:34:56 +02:00
mathlib.cpp Refactorization: Removed compatibility hacks for outdated or non-conformant compilers (#4186) 2022-06-08 15:16:01 +02:00
mathlib.h Update copyright year 2022-02-05 11:45:17 +01:00
path.cpp Update copyright year 2022-05-21 12:18:27 +02:00
path.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
pathanalysis.cpp Update copyright year 2022-02-05 11:45:17 +01:00
pathanalysis.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
pathmatch.cpp added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
pathmatch.h Update copyright year 2022-02-05 11:45:17 +01:00
pcrerules.pri
platform.cpp Implemented error handling in cppcheck::Platform::loadFromXmlDocument(), enabled related unit test (#8409) (#4181) 2022-06-08 12:35:23 +02:00
platform.h Update copyright year 2022-05-21 12:18:27 +02:00
precompiled.h Update copyright year 2022-02-05 11:45:17 +01:00
preprocessor.cpp Refactorization: Faster calculation of CRC32 by avoiding to create a temporary string. Use proper types in checksum functions. (#4180) 2022-06-08 16:55:06 +02:00
preprocessor.h Refactorization: Faster calculation of CRC32 by avoiding to create a temporary string. Use proper types in checksum functions. (#4180) 2022-06-08 16:55:06 +02:00
programmemory.cpp Fix 11124: FP knownConditionTrueFalse with fruit (#4196) 2022-06-11 11:02:04 +02:00
programmemory.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
reverseanalyzer.cpp Fix #9861 FN: "static" not suggested for non-const method (#4101) 2022-05-11 20:01:22 +02:00
reverseanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
settings.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
settings.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
smallvector.h smallvector.h: reverted bogus noExplicitConstructor fix and suppress the warning (#4016) 2022-04-13 20:50:04 +02:00
standards.h added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
summaries.cpp removed unnecessary varid0 inline suppressions (#3893) 2022-03-12 18:02:40 +01:00
summaries.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
suppressions.cpp cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
suppressions.h fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
symboldatabase.cpp Fix #10935 FP: compareBoolExpressionWithInt with enum and template parameter (#4193) 2022-06-10 20:40:37 +02:00
symboldatabase.h LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
templatesimplifier.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
templatesimplifier.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
timer.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
timer.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
token.cpp Fix crash on nullptr deref (#4189) 2022-06-09 18:25:17 +02:00
token.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
tokenize.cpp Tokenizer: Clarify code. The variableMap.find, variableMap.end was not strictly matching. 2022-06-11 09:47:06 +02:00
tokenize.h Improvement: Set varId for variables with global scope operator :: Refactorization: Moved internal class from tokenize.h to tokenize.cpp (#4184) 2022-06-11 08:11:16 +02:00
tokenlist.cpp Refactorization: Faster calculation of CRC32 by avoiding to create a temporary string. Use proper types in checksum functions. (#4180) 2022-06-08 16:55:06 +02:00
tokenlist.h Refactorization: Faster calculation of CRC32 by avoiding to create a temporary string. Use proper types in checksum functions. (#4180) 2022-06-08 16:55:06 +02:00
tokenrange.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
utils.cpp added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
utils.h added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
valueflow.cpp Fix 11100: FP knownConditionTrueFalse with getter/setter member functions (#4198) 2022-06-11 11:00:40 +02:00
valueflow.h Add debug_valueflow instrinsic to show valueflow values and its error path (#4159) 2022-06-01 06:53:21 +02:00
valueptr.h Update copyright year 2021-09-26 11:34:56 +02:00
version.h 2.7: Set versions 2022-02-05 12:17:54 +01:00
version.rc