rspec/rules/S1103/cfamily/rule.adoc

15 lines
529 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
include::../noncompliant.adoc[]
== Exceptions
The sequence // is permitted within a // comment.
== See
* https://wiki.sei.cmu.edu/confluence/x/k9YxBQ[CERT, MSC04-C.] - Use comments consistently and in a readable fashion
* MISRA C:2004, 2.3 - The character sequence /* shall not be used within a comment.
2021-01-26 14:30:57 +01:00
* MISRA {cpp}:2008, 2-7-1 - The character sequence /* shall not be used within a C-style comment.
2020-06-30 12:47:33 +02:00
* MISRA C:2012, 3.1 - The character sequences /* and // shall not be used within a comment