Skip to content

Commit

Permalink
[std] Use more \defnadj
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer authored and tkoeppe committed Nov 8, 2023
1 parent e43aa89 commit b5d3b3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3816,7 +3816,6 @@
\rSec3[basic.stc.static]{Static storage duration}

\pnum
\indextext{storage duration!static}%
All variables which
\begin{itemize}
\item
Expand All @@ -3826,7 +3825,7 @@
are first declared with
the \keyword{static} or \keyword{extern} keywords\iref{dcl.stc}
\end{itemize}
have \defn{static storage duration}.
have \defnadj{static}{storage duration}.
The storage for these entities lasts for the duration of the
program\iref{basic.start.static,basic.start.term}.

Expand Down
5 changes: 2 additions & 3 deletions source/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
a partial specialization\iref{temp.spec.partial}.
A \grammarterm{class-specifier} whose
\grammarterm{class-head} omits the
\grammarterm{class-head-name} defines an unnamed class.
\grammarterm{class-head-name} defines an \defnadj{unnamed}{class}.
\begin{note}
An unnamed class thus can't
be \tcode{final}.
Expand Down Expand Up @@ -2779,9 +2779,8 @@
\end{note}

\pnum
\indextext{bit-field!unnamed}%
A declaration for a bit-field that omits the \grammarterm{identifier}
declares an \defn{unnamed bit-field}. Unnamed bit-fields are not
declares an \defnadj{unnamed}{bit-field}. Unnamed bit-fields are not
members and cannot be initialized.
An unnamed bit-field shall not be declared with a cv-qualified type.
\begin{note}
Expand Down
3 changes: 1 addition & 2 deletions source/statements.tex
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@
\indextext{side effects}%
side effects from an expression statement
are completed before the next statement is executed.
\indextext{statement!null}%
\indextext{statement!empty}%
An expression statement with the expression missing is called
a \defn{null statement}.
a \defnadj{null}{statement}.
\begin{note}
Most statements are expression statements --- usually assignments or
function calls. A null statement is useful to supply a null body to an
Expand Down

0 comments on commit b5d3b3c

Please sign in to comment.