Skip to content

moved fileSettings out of Settings#5608

Merged
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
firewave:proh-clean-2-2
Nov 3, 2023
Merged

moved fileSettings out of Settings#5608
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
firewave:proh-clean-2-2

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

@firewave firewave commented Nov 1, 2023

Moved the FileSettings out of the Settings and pass them around explicitly. They can never be specified at the same time and are used exclusively. The code hasn't been fully adjusted to reflect this as this is only the refactoring without any functional changes.

@firewave
Copy link
Copy Markdown
Collaborator Author

firewave commented Nov 1, 2023

Needs #5604 merged first.

The TODOs will be addressed in a follow-up PR which increases the test coverage. I also filed https://trac.cppcheck.net/ticket/12133 for the one about the whole program analysis (lack of) usage of the addons.

I also hope we might be able to merge these two different file lists in the future. FileSettings needs some cleanups first. But both will most likely not happen before the executor rework.

@firewave firewave force-pushed the proh-clean-2-2 branch 2 times, most recently from c057890 to 6d0a46b Compare November 2, 2023 18:49
@firewave firewave marked this pull request as ready for review November 2, 2023 18:49
@firewave firewave marked this pull request as draft November 2, 2023 18:49
@firewave firewave marked this pull request as ready for review November 2, 2023 20:05
@chrchr-github chrchr-github merged commit ca6d1aa into cppcheck-opensource:main Nov 3, 2023
@firewave firewave deleted the proh-clean-2-2 branch November 3, 2023 23:02
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