Skip to content

added CLI options to control whole program analysis#8568

Draft
firewave wants to merge 1 commit into
cppcheck-opensource:mainfrom
firewave:no-whole
Draft

added CLI options to control whole program analysis#8568
firewave wants to merge 1 commit into
cppcheck-opensource:mainfrom
firewave:no-whole

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread cli/cmdlineparser.cpp
//mLogger.printMessage("whole program analysis requires --cppcheck-build-dir to be active with -j.");
// TODO: bail out instead?
if (mSettings.wholeProgram) {
mLogger.printMessage("disabling whole program analysis as it requires --cppcheck-build-dir to be active with -j.");
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Looking at the actual code it appears the suggested message might have been misguided. The whole program analysis is still being executed but it just lacks data like CTU.

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.

1 participant