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

moved settings-related code from CppCheckExecutor to CmdLineParser #5672

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

firewave
Copy link
Collaborator

@firewave firewave commented Nov 16, 2023

CppCheckExecutor contains some code which is not related to the execution but actually to the creation of the settings. This is causing inconsistencies in the error handling/logging as well as interfering with the testability.

@firewave
Copy link
Collaborator Author

Still needs a proper description...

This is only the raw moving of the code. Cleanups and functional changes will be done in follow-up PRs. This will try to resolve several issues including:

  • improved testability
  • prevent modification of settings after creation
  • better errorhandling of command-line parsing
  • better logging encapsulation

@firewave firewave marked this pull request as ready for review November 16, 2023 17:35
@firewave
Copy link
Collaborator Author

See #5676 for the first round of follow-up changes.

@firewave firewave merged commit 4addad1 into danmar:main Nov 19, 2023
68 checks passed
@firewave firewave deleted the cmd-settings branch November 19, 2023 18:45
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