Add Polyspace Suppression for MISRA Directive

/* polyspace Family:Result_name */
For example polyspace MISRA-C:14.9. This number (14.9) is the rule number, but MISRA also has directives.
How can I suppress directives?
The doc in the link above only says:
For coding standard violations, specify the rule number or numbers.
There is for instance directive 1.1, but also rule 1.1.

 採用された回答

Christian Bard
Christian Bard 2025 年 2 月 18 日

0 投票

In the Polyspace UI, when you select a violation, you can right-click and choose "Add Pre-justification to clipboard." For more details, refer to the documentation below. By doing this, you'll notice that directive violations are prefixed with an uppercase 'D'.

1 件のコメント

Ismet
Ismet 2025 年 2 月 21 日
Thank you very much, the "D" helped.

サインインしてコメントする。

その他の回答 (0 件)

製品

リリース

R2024b

質問済み:

2025 年 2 月 13 日

コメント済み:

2025 年 2 月 21 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by