Skip to content

Conversation

@firewave
Copy link
Collaborator

@firewave firewave commented Dec 1, 2025

No description provided.

@firewave firewave changed the title refs #14304 - fixed active checkers with UNUSEDFUNCTION_ONLY hack refs #14304/#14242 - fixed active checkers with UNUSEDFUNCTION_ONLY hack Dec 1, 2025
@firewave firewave marked this pull request as draft December 1, 2025 15:10
@firewave
Copy link
Collaborator Author

firewave commented Dec 1, 2025

Although it looks like this only caters towards the hack it actually advances towards making this an actual feature.

It is also the very first step in trying to get a hold of the differing/misleading checker data being shown. There are several more issues which need to be tackled incrementally and I already have tests which do not utilize the hack and highlight these.

This also seems to have uncovered some messiness in the way the unused function check and the whole program analysis are being invoked.

@firewave firewave marked this pull request as ready for review December 1, 2025 20:56
Comment on lines +70 to 71
// TODO: CppCheckExecutor::check_internal() is also invoking the whole program analysis - is it run twice?
if (mCppcheck.analyseWholeProgram())
Copy link
Collaborator Author

@firewave firewave Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

danmar
danmar previously approved these changes Dec 7, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 7, 2025

@firewave firewave merged commit e3dacd8 into danmar:main Dec 7, 2025
55 checks passed
@firewave firewave deleted the unusedf-hack-xxx branch December 7, 2025 23:49
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