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

CppCheck: removed changing of debugwarnings for non-accepted files #4965

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

firewave
Copy link
Collaborator

This was introduced in 9a10270 and it doesn't really make sense IMO.

It will also be the last write usage of the settings after #4964 is done and allows us to make the settings const and eliminate a copy which is a minor hot spot when using ThreadExecutor and will enable us to use the shared Executor code in all cases without performance regressions.

@firewave firewave marked this pull request as ready for review April 13, 2023 13:36
@firewave
Copy link
Collaborator Author

This also resolves a minor hot spot that is caused by the Path::acceptFile() call for each file.

I tried to mitigate that in #4681 which hasn't been merged yet but getting rid of the call is obviously even better.

@firewave firewave merged commit 5658319 into danmar:main Apr 28, 2023
@firewave firewave deleted the setting-xyz branch April 28, 2023 10:30
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