Skip to content

Commit 0aefeed

Browse files
authored
Merge 2022-11 CWG Motion 6
P2710R0 Core Language Working Group NB comment resolutions for the November, 2022 meeting; issue 2538
2 parents 96c9400 + dbe1a03 commit 0aefeed

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

source/declarations.tex

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8483,9 +8483,15 @@
84838483
For an \grammarterm{attribute-token}
84848484
(including an \grammarterm{attribute-scoped-token})
84858485
not specified in this document, the
8486-
behavior is \impldef{behavior of non-standard attributes}.
8487-
Any \grammarterm{attribute-token} that is not recognized by the implementation
8486+
behavior is \impldef{behavior of non-standard attributes};
8487+
any such \grammarterm{attribute-token} that is not recognized by the implementation
84888488
is ignored.
8489+
\begin{note}
8490+
A program is ill-formed if it contains an \grammarterm{attribute}
8491+
specified in \ref{dcl.attr} that violates
8492+
the rules specifying to which entity or statement the attribute can apply or
8493+
the syntax rules for the attribute's \grammarterm{attribute-argument-clause}, if any.
8494+
\end{note}
84898495
An \grammarterm{attribute-token} is reserved for future standardization if
84908496
\begin{itemize}
84918497
\item it is not an \grammarterm{attribute-scoped-token} and

0 commit comments

Comments
 (0)