Skip to content

Fix #12798: Add inline supression to projectDialog#6453

Merged
danmar merged 9 commits intocppcheck-opensource:mainfrom
olabetskyi:move_iinline_suppres
May 31, 2024
Merged

Fix #12798: Add inline supression to projectDialog#6453
danmar merged 9 commits intocppcheck-opensource:mainfrom
olabetskyi:move_iinline_suppres

Conversation

@olabetskyi
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread gui/projectfiledialog.cpp Outdated
@danmar
Copy link
Copy Markdown
Collaborator

danmar commented May 28, 2024

I would like that you add a test in cppcheck/test/testimportproject.cpp
maybe some test can also be added in gui/test/projectfile

Copy link
Copy Markdown
Collaborator

@danmar danmar left a comment

Choose a reason for hiding this comment

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

I have the feeling that the flag can be configured. But it's not used in the analysis. I think you should tweak the MainWindow::getCppcheckSettings()

I don't know.. we could in theory keep the setting in the SettingsDialog but only use that when the ProjectFile is null. I don't have a very strong opinion.

Copy link
Copy Markdown
Collaborator

@danmar danmar left a comment

Choose a reason for hiding this comment

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

I believe you need to update getCppcheckSettings in mainwindow.cpp also

Comment thread gui/projectfile.h Outdated
Comment thread gui/projectfile.h Outdated
Comment thread gui/test/projectfile/testprojectfile.cpp Outdated
Copy link
Copy Markdown
Collaborator

@danmar danmar left a comment

Choose a reason for hiding this comment

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

lgtm

@olabetskyi olabetskyi marked this pull request as ready for review May 31, 2024 09:13
@olabetskyi olabetskyi changed the title Move inline supression from settings to projectDialog Fix #12798: Add inline supression to projectDialog May 31, 2024
@danmar danmar merged commit 886e306 into cppcheck-opensource:main May 31, 2024
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