Repository navigation
Update dependency cppcheck to v2.22.0 - #16
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/cppcheck-2.x
branch
from
April 22, 2026 09:38
26c99a1 to
1757230
Compare
renovate
Bot
force-pushed
the
renovate/cppcheck-2.x
branch
from
April 24, 2026 14:36
1757230 to
254d945
Compare
MialLewis
force-pushed
the
main
branch
2 times, most recently
from
April 29, 2026 12:44
ea79c48 to
5061393
Compare
renovate
Bot
force-pushed
the
renovate/cppcheck-2.x
branch
from
April 29, 2026 12:48
254d945 to
aae8229
Compare
renovate
Bot
force-pushed
the
renovate/cppcheck-2.x
branch
from
May 11, 2026 09:47
aae8229 to
8e4cbb9
Compare
renovate
Bot
force-pushed
the
renovate/cppcheck-2.x
branch
from
June 6, 2026 19:43
8e4cbb9 to
912c8d6
Compare
renovate
Bot
force-pushed
the
renovate/cppcheck-2.x
branch
from
July 25, 2026 03:46
912c8d6 to
a248e86
Compare
renovate
Bot
force-pushed
the
renovate/cppcheck-2.x
branch
from
August 1, 2026 12:19
a248e86 to
94b05b4
Compare
renovate
Bot
force-pushed
the
renovate/cppcheck-2.x
branch
from
September 12, 2026 15:51
94b05b4 to
be8d88d
Compare
renovate
Bot
force-pushed
the
renovate/cppcheck-2.x
branch
from
September 27, 2026 07:56
be8d88d to
e6d8711
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.18.1→==2.22.0Release Notes
cppcheck-opensource/cppcheck (cppcheck)
v2.22.0: cppcheck 2.22.0Compare Source
Release Notes for Cppcheck 2.22
Major bug fixes & crashes:
bb630c2,3f2d60c), Tokenizer::simplifyTypedef() (71de675,3deb36d,592e7b7), Tokenizer::simplifyUsing() (9162aa7,7d5a54c), Tokenizer::findGarbageCode() (08db304) and ReverseTraversal::traverse() (3a3184d,5aa31d0).6d2b6f4Fix #14974 [regression] inline suppression does not work with build dir anymore.9a500c8Fix #14972 [regression] Syntax Error: AST broken, '!' doesn't have an operand.New checks:
0d7884dWarn when feof() is used as a while loop condition (wrongfeofUsage).04091bdftell() result is unspecified when file is opened in mode "t".3d88880Detect when an STL algorithm such as std::copy, std::equal, std::transform, etc. accesses more elements through an iterator than are available in the container (algorithmOutOfBounds).f695adeDetect switch cases that cannot be selected when the switch condition has a known value (unreachableSwitchCase).C/C++ support:
b878dc2Support C++23 'if consteval' / 'if !consteval'.7a8c67aFix #15007isAttributeNoreturnnot set for_Noreturn.GUI:
f81f6f0Fix #14829 Platform configuration mismatch between UI selection and analysis log.9f74c2dFix #14813 crash: recheck in GUI sometimes crashes.550189bFix #14738 GUI recheck of files not working properly when importing compile_commands.json.8f7666dFix #14983 GUI: exclude file with relative path.6640862Fix #14933 each GUI log entry line should be output on a separate line.5799d47Removed GUI compliance report instructions (feature removed).Suppressions:
93546a2XML suppression file: added macro attribute for specifying macro name.fecb349Fix #14959 Warning hash for token-based warnings.f6fff71Fix #15013 Calculate warning hash for CTU warnings.0b59984Baseline functionality (script and documentation).637d5beSuppression file name cache. (performance)c976cacErrorLogger: do not open and read from files unless necessary (performance).Import project:
d32c01dAdded support for Folders in slnx project files, skip non-C++ projects.9408a1dAdded support for vcxproj ExcludedFromBuild.bf099d1Import project: handle forced include files from compilation database projects.3a9750eFlexible handling of -isystem, --sysroot and -I flags in compile_commands.json through the script tweak-compile_commands.py.Infrastructure & dependencies:
4e62f0cFix #14614 Optionally provide comments in preprocessor output (BuildCache).ff4d7ceFix #14987 Update simplecpp to 1.9.1.Other:
1fb6630Added configuration file for Microsoft.GSL (Guideline Support Library).167f49d,5aec67c,767ace6man/checkers: documented remaining checkers and fixed guideline classifications for MISRA C++.v2.21.0: Cppcheck-2.21.0Compare Source
Release Notes for Cppcheck 2.21
Major bug fixes & crashes:
New checks:
C/C++ support:
GUI:
Other:
engineelement in a rule XML.--exitcode-suppressto specify an error ID which should not result in a non-zero exitcode.v2.20.1Compare Source
v2.20.0: Cppcheck-2.20.0Compare Source
Release Notes for Cppcheck 2.20
GUI:
Changed interface:
Other:
v2.18.3Compare Source
v2.18.2Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.