Skip to content

Commit 79c3f3c

Browse files
authored
[dcl.pre] Index "typedef declaration", "object declaration", and "function declaration" (cplusplus#9332)
1 parent 6d4e153 commit 79c3f3c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎source/declarations.tex‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,9 @@
249249

250250
\pnum
251251
If the \grammarterm{decl-specifier-seq} contains the \keyword{typedef}
252-
specifier, the declaration is a \defnx{typedef declaration}{declaration!\idxcode{typedef}}
252+
specifier, the declaration is a
253+
\indextext{typedef declaration|see{declaration, \idxcode{typedef}}}
254+
\defnx{typedef declaration}{declaration!\idxcode{typedef}}
253255
and each \grammarterm{declarator-id}
254256
is declared to be a \grammarterm{typedef-name}\iref{dcl.typedef}.
255257
\begin{note}
@@ -258,10 +260,10 @@
258260
\end{note}
259261
Otherwise, if the type associated with a \grammarterm{declarator-id}
260262
is a function type\iref{dcl.fct},
261-
the declaration is a \defnx{function declaration}{declaration!function}.
263+
the declaration is a \defnadj{function}{declaration}.
262264
Otherwise, if the type associated with a \grammarterm{declarator-id}
263265
is an object or reference type, the declaration is
264-
an \defnx{object declaration}{declaration!object}.
266+
an \defnadj{object}{declaration}.
265267
Otherwise, the program is ill-formed.
266268
\begin{example}
267269
\begin{codeblock}

0 commit comments

Comments
 (0)