Misra severity#2674
Misra severity#2674danmar merged 2 commits intocppcheck-opensource:masterfrom carlolars:misra-severity
Conversation
|
@danmar IMHO add-ons should behave the same way as the cppcheck core. |
|
yes.. I think that |
Yes My initial thought behind not restricting the string was that you might want to tag misra warnings different to distinguish them, but when I think of it now it would be just as easy to search for the error-id which always starts with Let me know if you would like me to change this. |
|
I'd be in favor of restricting it. |
Implemented the option
--severityformisra.pyto set a custom severity string for all misra warnings.The severity string is not limited to
info,warning,erroretc but it will accept any string, so you could use for examplemisra-warning.