How do you add multiple justifications to a single line of C++ code in polyspace?
조회 수: 12 (최근 30일)
이전 댓글 표시
Hello,
I get multiple polyspace findings on a single line of C++ code (MISRA 16-0-2, MISRA 16-2-1, etc).
For this instance I would like to justify the single line of code; however, I would like to do so using the comment annotation in the code.
I copy from the clipboard to justify a single error... how do I justify more than one?
Thanks!
댓글 수: 0
답변 (1개)
Shubham
2023년 9월 29일
Hi Aaron,
I understand you want to add mutiple annotations to the single line of code in Polyspace.
It depends on what annotations you want to add to your line of code.
If you want to specify multiple families in the same annotation
line of code; /* polyspace MISRA2012:17.* RTE:* */
This annotation applies to all MISRA C:2012 rules 17 and to all run-time checks.
You can refer to this documentation to know more about annotations.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MISRA C:2012 Directives and Rules에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!