Uh oh!
There was an error while loading. Please reload this page.
Fix #14064 Files are reanalyzed with --cppcheck-build-dir and inline suppressions (regression) - #7741
Conversation
| out << " <suppressions>" << std::endl; | ||
| for (const Suppression &suppression : mSuppressions) { | ||
| if (!filePath.empty() && !suppression.fileName.empty() && filePath != suppression.fileName) |
There was a problem hiding this comment.
As the suppression could contain a pattern we need to use the matching logic of the suppressions.
There was a problem hiding this comment.
Not sure I follow. There is only one suppression at a time, and we only care about inline suppressions.
firewave
commented
Aug 14, 2025
Way to test the non-inline suppression case:
|
firewave
commented
Aug 14, 2025
It is possible that |
firewave
commented
Aug 18, 2025
LGTM but tests requiring Although I/we should rather work on #7079 as a priority and IMO no more builddir changes should be landed before that is in. |
chrchr-github
commented
Aug 18, 2025
|
chrchr-github
commented
Aug 19, 2025
We might want to backport this to 2.18 as well. |
firewave
commented
Aug 19, 2025
Definitely. |
Uh oh!
There was an error while loading. Please reload this page.
…suppressions (regression) (cppcheck-opensource#7741) (cherry picked from commit 4617bc2)
firewave
commented
Aug 20, 2025
See #7756. |



No description provided.