Skip to content

Commit 5225f68

Browse files
committed
[dcl.attr.assume] Add missing \pnum's
1 parent 011e687 commit 5225f68

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/declarations.tex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9015,7 +9015,7 @@
90159015

90169016
\rSec2[dcl.attr.assume]{Assumption attribute}
90179017

9018-
% FIXME: Shouldn't there be a pnum here?
9018+
\pnum
90199019
The \grammarterm{attribute-token} \tcode{assume} may be applied to a null statement;
90209020
such a statement is an \defn{assumption}.
90219021
An \grammarterm{attribute-argument-clause} shall be present and
@@ -9030,6 +9030,8 @@
90309030
the assumption has no effect.
90319031
Otherwise,
90329032
evaluation of the assumption has runtime-undefined behavior.
9033+
9034+
\pnum
90339035
\begin{note}
90349036
The expression is potentially evaluated\iref{basic.def.odr}.
90359037
The use of assumptions is intended to allow implementations
@@ -9043,6 +9045,8 @@
90439045
if an implementation does not attempt to deduce
90449046
any such information from assumptions.
90459047
\end{note}
9048+
9049+
\pnum
90469050
\begin{example}
90479051
\begin{codeblock}
90489052
int divide_by_32(int x) {

0 commit comments

Comments
 (0)