Skip to content

removed unnecessary friend declarations from checks#8613

Merged
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
firewave:check-friend
Jun 8, 2026
Merged

removed unnecessary friend declarations from checks#8613
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
firewave:check-friend

Conversation

@firewave

@firewave firewave commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@firewave

firewave commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

These are no longer necessary after we split the implementation from the instance. They are not needed in the implementations because all those functions are currently public. The previous combined classes had the access specifiers set properly but these no longer have. I will fix that incrementally in future PRs. I am not sure how to complete yet since we need split/optional access to the functions which invokes checks (from the tests and the runChecks()) and the functions which produce the errors (from getErrorMessages()).

@chrchr-github chrchr-github merged commit fdbb42c into cppcheck-opensource:main Jun 8, 2026
70 checks passed
@firewave firewave deleted the check-friend branch June 8, 2026 08:54
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