Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daca: filter checker results when there are syntaxError/unknownMacro/etc #5214

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

danmar
Copy link
Owner

@danmar danmar commented Jul 1, 2023

No description provided.

@danmar danmar merged commit 7ff58da into main Jul 4, 2023
126 checks passed
@danmar danmar deleted the daca-filter branch July 4, 2023 11:23
@firewave
Copy link
Collaborator

What is this change trying to solve?

As these warnings are quite common in daca this leads to incomplete or even empty diffs, which is bad - see https://trac.cppcheck.net/ticket/12099.

firewave added a commit to firewave/cppcheck that referenced this pull request Oct 23, 2023
firewave added a commit to firewave/cppcheck that referenced this pull request Oct 23, 2023
@chrchr-github
Copy link
Collaborator

I guess the idea was that (resolved) critical errors should not cause diff changes for other error IDs?

@firewave
Copy link
Collaborator

I guess the idea was that (resolved) critical errors should not cause diff changes for other error IDs?

Probably - but the warnings are not global but per file. And they could originate from a header only.

I think handling this (if it would actually work properly) would be rather complex and would not give much of an upside. We are not that deep into daca all the time.

firewave added a commit to firewave/cppcheck that referenced this pull request Oct 26, 2023
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.

3 participants