rspec/rules/S974/rule.adoc
2022-02-04 16:28:24 +00:00

25 lines
660 B
Plaintext

It is undefined behaviour if the ``++'++``, ``++"++``, ``++/*++`` or ``++//++`` characters are used between ``++<++`` and ``++>++`` delimiters or the ``++'++``, ``++/*++`` or ``++//++`` characters are used between the ``++"++`` delimiters in a header name preprocessing token.
== Noncompliant Code Example
[source,text]
----
#include "fi'le.h" // Noncompliant; filename contains '
----
== See
* MISRA {cpp}:2008, 16-2-4 - The ', ", /* or // characters shall not occur in a header file name.
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]