Skip to content

fwdanalysis: Remove unused What::ValueFlow mode#8650

Merged
firewave merged 2 commits into
cppcheck-opensource:mainfrom
francois-berder:improve-fwdanalysis
Jun 14, 2026
Merged

fwdanalysis: Remove unused What::ValueFlow mode#8650
firewave merged 2 commits into
cppcheck-opensource:mainfrom
francois-berder:improve-fwdanalysis

Conversation

@francois-berder

Copy link
Copy Markdown
Collaborator

The What::ValueFlow mode and its state (mValueFlow, mValueFlowKnown, KnownAndToken) are not used since commit 921887a, which switched to valueFlowForwardExpression instead of FwdAnalysis::valueFlow().

The What::ValueFlow mode and its state (mValueFlow,
mValueFlowKnown, KnownAndToken) are not used since commit
921887a, which switched to valueFlowForwardExpression
instead of FwdAnalysis::valueFlow().
@firewave

Copy link
Copy Markdown
Collaborator

Nice. Fix the selfcheck warnings and it can be merged.

This now makes it state-less so as a follow-up it could be made all static.

@firewave firewave merged commit 987d3b4 into cppcheck-opensource:main Jun 14, 2026
72 of 73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants