Skip to content

AnalyzerInformation: don't store inline suppressions (Fix #14974: [regression]) - #8797

Open
autoantwort wants to merge 1 commit into
cppcheck-opensource:mainfrom
autoantwort:fix-14974
Open

AnalyzerInformation: don't store inline suppressions (Fix #14974: [regression])#8797
autoantwort wants to merge 1 commit into
cppcheck-opensource:mainfrom
autoantwort:fix-14974

Conversation

@autoantwort

Copy link
Copy Markdown
Contributor

There is no situation where a inline suppressed error is needed again. And after loading an analysis we don't know if there were inline suppressions because we don't look at the code again.
We have to keep errors that are suppressed otherwise, since command line parameters can change etc., but an inline suppression can not change without changing the file hash which invalidates the cache entry anyways.

There is no situation where a inline suppressed error is needed again.
And after loading an analysis we don't know if there were inline suppressions
because we don't look at the code again.
We have to keep errors that are suppressed otherwise, since command line
parameters can change etc., but an inline suppression can not change without
changing the file hash which invalidates the cache entry anyways.
@autoantwort autoantwort changed the title AnalyzerInformation: don't store inline suppressions (Fixes #14974) AnalyzerInformation: don't store inline suppressions (Fix #14974: [regression]) Aug 15, 2026
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.

1 participant