-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix #14367: Support polyspace inline suppressions for misra c:20xx rules #8105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Should this be behind a flag? Always parsing for something very niche (and premium only?) seems undesired. |
I think that would be good. |
565b38a to
d27f25b
Compare
Since it is specific to certain MISRA rules it should only be active if those rules are active. |
73a5159 to
da0456b
Compare
|
| class CPPCHECKLIB Parser { | ||
| public: | ||
| Parser() = delete; | ||
| explicit Parser(const Settings &settings) : mSettings(settings) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the constructor could look at the settings and check if any misra rules are enabled. If no misra rules are enabled it would make sense if collect and parse will not do anything.
I agree it's niche use case. Especially for open source projects. imho.. if If misra checkers are not enabled then it's redundant to handle the polyspace comments. |



No description provided.