cppcheck/lib
chrchr-github 705931266c
constStatementError: don't warn for casts with possible side effects,… (#3885)
* constStatementError: don't warn for casts with possible side effects, handle bool constants

* Recursive call, add tests

* Restore test

* Don't warn for C++ casts to void

* Don't warn for cast to void*
2022-03-11 21:45:51 +01:00
..
CMakeLists.txt use target-specific configuration instead of global ones in CMake (#3534) 2021-10-30 09:08:07 +02:00
analyzer.h Update copyright year 2022-02-05 11:45:17 +01: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 10702: FP knownConditionTrueFalse - Member variable modified (#3857) 2022-02-28 18:54:55 +01:00
astutils.h Fix 10702: FP knownConditionTrueFalse - Member variable modified (#3857) 2022-02-28 18:54:55 +01:00
bughuntingchecks.cpp fixed and enabled performance-for-range-copy clang-tidy warning (#3682) 2022-02-12 08:20:45 +01:00
bughuntingchecks.h Update copyright year 2022-02-05 11:45:17 +01:00
calculate.h use inline suppressions for varid0 in selfcheck (#3842) 2022-02-21 18:35:02 +01:00
check.cpp Update copyright year 2022-02-05 11:45:17 +01:00
check.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
check64bit.cpp Update copyright year 2022-02-05 11:45:17 +01:00
check64bit.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkassert.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkassert.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkautovariables.cpp Refactor: Use getEndOfExprScope instead of getEndOfVarScope (#3855) 2022-02-24 06:50:34 +01:00
checkautovariables.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkbool.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkbool.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkboost.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkboost.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkbufferoverrun.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkbufferoverrun.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkclass.cpp Fix #5499 C++11 default values not for all class fields and missing constructor (#3876) 2022-03-07 08:39:19 +01:00
checkclass.h Fix #5499 C++11 default values not for all class fields and missing constructor (#3876) 2022-03-07 08:39:19 +01:00
checkcondition.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkcondition.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01: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 Update copyright year 2022-02-05 11:45:17 +01: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 removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkio.cpp Fix #7908 FN: redundant assignment in loop (#3650) 2022-02-22 09:51:44 +01:00
checkio.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkleakautovar.cpp Fix false positive in memory leak 2022-03-10 08:29:05 +01:00
checkleakautovar.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkmemoryleak.cpp #8126 Fix previous commit (#3833) 2022-02-15 20:03:02 +01:00
checkmemoryleak.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checknullpointer.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checknullpointer.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkother.cpp constStatementError: don't warn for casts with possible side effects,… (#3885) 2022-03-11 21:45:51 +01:00
checkother.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkpostfixoperator.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkpostfixoperator.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checksizeof.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checksizeof.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkstl.cpp Fix 10702: FP knownConditionTrueFalse - Member variable modified (#3857) 2022-02-28 18:54:55 +01:00
checkstl.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkstring.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkstring.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01: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 Update copyright year 2022-02-05 11:45:17 +01:00
checkuninitvar.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01: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 #10846 FP unreadVariable within a macro (regression) (#3874) 2022-03-05 08:14:57 +01: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 removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
clangimport.cpp fixed and enabled performance-for-range-copy clang-tidy warning (#3682) 2022-02-12 08:20:45 +01: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 added CMake option USE_THREADS to be able to use threads instead of fork() / cleanups (#3852) 2022-02-23 09:04:35 +01:00
cppcheck.cpp Fix #7908 FN: redundant assignment in loop (#3650) 2022-02-22 09:51:44 +01:00
cppcheck.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
cppcheck.natvis
cppcheck.vcxproj MSVC: add missing files to project (#3500) 2021-10-11 19:01:49 +02:00
cppcheck.vcxproj.filters Fix MSVC build (#3671) 2022-01-04 15:38:37 +01:00
ctu.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
ctu.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
errorlogger.cpp Restore symbol names from cache 2022-02-21 18:19:05 +01:00
errorlogger.h Update copyright year 2022-02-05 11:45:17 +01: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
exprengine.cpp Fix #10391 bug hunting; crash for small C-code (#3846) 2022-02-21 18:09:46 +01:00
exprengine.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
forwardanalyzer.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
forwardanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
importproject.cpp Import project: do not crash when importing compile database generated by IAR workbench 2022-02-16 08:35:47 +01:00
importproject.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01: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 Refactor: Use interval analysis for symbolic values for inferCondtion (#3488) 2021-10-09 16:19:06 +02:00
library.cpp Update copyright year 2022-02-05 11:45:17 +01:00
library.h Update copyright year 2022-02-05 11:45:17 +01:00
matchcompiler.h Update copyright year 2021-09-26 11:34:56 +02:00
mathlib.cpp Update copyright year 2022-02-05 11:45:17 +01:00
mathlib.h Update copyright year 2022-02-05 11:45:17 +01:00
path.cpp feat: add support for .ipp and .ixx extensions (#3383) 2021-08-09 10:46:56 +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 Update copyright year 2022-02-05 11:45:17 +01:00
pathmatch.h Update copyright year 2022-02-05 11:45:17 +01:00
pcrerules.pri
platform.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
platform.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
precompiled.h Update copyright year 2022-02-05 11:45:17 +01:00
preprocessor.cpp Update copyright year 2022-02-05 11:45:17 +01:00
preprocessor.h Update copyright year 2022-02-05 11:45:17 +01:00
programmemory.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
programmemory.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
reverseanalyzer.cpp Update copyright year 2022-02-05 11:45:17 +01:00
reverseanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
settings.cpp added CMake option USE_THREADS to be able to use threads instead of fork() / cleanups (#3852) 2022-02-23 09:04:35 +01:00
settings.h added CMake option USE_THREADS to be able to use threads instead of fork() / cleanups (#3852) 2022-02-23 09:04:35 +01:00
standards.h Update copyright year 2022-02-05 11:45:17 +01:00
summaries.cpp use inline suppressions for varid0 in selfcheck (#3842) 2022-02-21 18:35:02 +01:00
summaries.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
suppressions.cpp Update copyright year 2022-02-05 11:45:17 +01:00
suppressions.h Update copyright year 2022-02-05 11:45:17 +01:00
symboldatabase.cpp Fix FP missingOverride with unnamed parameters (#3887) 2022-03-11 21:44:13 +01:00
symboldatabase.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
templatesimplifier.cpp Fix #7908 FN: redundant assignment in loop (#3650) 2022-02-22 09:51:44 +01: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 removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
token.cpp Fix #10817 Crash in checkPassByReference() / #10810 Stack overflow with decltype / #10763 Crash on invalid code (#3840) 2022-02-18 12:59:21 +01:00
token.h Fix #10527 FP variableScope for if with init-statement (#3811) 2022-02-08 16:12:09 +01:00
tokenize.cpp Partial fix for #9384 varid 0 with lambda (#3875) 2022-03-08 20:10:51 +01:00
tokenize.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
tokenlist.cpp Fix #10824 FN unreadVariable for pointer assignment when destructor exists (regression) (#3864) 2022-03-02 11:11:44 +01:00
tokenlist.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
tokenrange.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
utils.cpp Update copyright year 2022-02-05 11:45:17 +01:00
utils.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
valueflow.cpp Warn about buffer overruns when allocating memory with new (#3879) 2022-03-07 19:43:40 +01:00
valueflow.h Fix #7908 FN: redundant assignment in loop (#3650) 2022-02-22 09:51:44 +01: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