The character \ shall not occur as a last character of a C++ comment
The character \ shall not occur as a last character of a C++ comment.
If your code has the character \ at the end of a single-line comment, the next line of code becomes a continuation of the comment. Ending single line comments by using the character \ can inadvertently comment-out sections of code.
Polyspace checks if the character \ is the last character of a C++ comment .
If you expect a rule violation but do not see it, refer to Coding Standard Violations Not Displayed.
| Group: Lexical conventions |
| Category: Required, Automated |