The character sequences /* and // shall
not be used within a comment
The character sequences /* and // shall
not be used within a comment.
These character sequences are not allowed in code comments because:
If your code contains a /* or a // in
a /* */ comment, it typically means that you have
inadvertently commented out code.
If your code contains a /* in a // comment,
it typically means that you have inadvertently uncommented a /*
*/ comment.
You cannot annotate this rule in the source code.
For information on annotations, see Hide Known or Acceptable Polyspace Results.
The character sequence /* shall not appear
within a comment.
If you expect a rule violation but do not see it, refer to the documentation of Polyspace® Code Prover™ or Polyspace Code Prover Server™.
| Group: Comments |
| Category: Required |
| AGC Category: Required |