Skip to content

Commit 6af7ffc

Browse files
authored
[basic.link, expr.add, cstdlib.syn] Small fixes regarding spacing before commas (#1544)
1 parent c063625 commit 6af7ffc

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

source/basic.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,17 +2210,17 @@
22102210
object, reference, function, type, template, namespace or value as a
22112211
name introduced by a declaration in another scope:
22122212
\begin{itemize}
2213-
\item When a name has \defn{external linkage}\indextext{linkage!external},
2213+
\item When a name has \indextext{linkage!external}\defn{external linkage},
22142214
the entity it denotes
22152215
can be referred to by names from scopes of other translation units or
22162216
from other scopes of the same translation unit.
22172217

2218-
\item When a name has \defn{internal linkage}\indextext{linkage!internal},
2218+
\item When a name has \indextext{linkage!internal}\defn{internal linkage},
22192219
the entity it denotes
22202220
can be referred to by names from other scopes in the same translation
22212221
unit.
22222222

2223-
\item When a name has \defn{no linkage}\indextext{linkage!no}, the entity it denotes
2223+
\item When a name has \indextext{linkage!no}\defn{no linkage}, the entity it denotes
22242224
cannot be referred to by names from other scopes.
22252225
\end{itemize}
22262226

source/expressions.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4103,12 +4103,12 @@
41034103
When an expression that has integral type is added to or subtracted from
41044104
a pointer, the result has the type of the pointer operand.
41054105
If the expression \tcode{P} points to element $\mathtt{x[}i\mathtt{]}$
4106-
of an array object \tcode{x} with $n$ elements%
4106+
of an array object \tcode{x} with $n$ elements,%
41074107
\footnote{An object that is not an array element is considered to belong to a
41084108
single-element array for this purpose; see~\ref{expr.unary.op}.
41094109
A pointer past the last element of an array \tcode{x} of $n$ elements
41104110
is considered to be equivalent to a pointer to a hypothetical element
4111-
$\mathtt{x[}n\mathtt{]}$ for this purpose; see~\ref{basic.compound}.},
4111+
$\mathtt{x[}n\mathtt{]}$ for this purpose; see~\ref{basic.compound}.}
41124112
the expressions \tcode{P + J} and \tcode{J + P}
41134113
(where \tcode{J} has the value $j$)
41144114
point to the (possibly-hypothetical) element
@@ -4329,9 +4329,9 @@
43294329
\item
43304330
If one pointer represents the address of a complete object, and another
43314331
pointer represents the address one past the last element of a different
4332-
complete object\footnote{An object that is not an array element is
4332+
complete object,\footnote{An object that is not an array element is
43334333
considered to belong to a single-element array for this purpose;
4334-
see~\ref{expr.unary.op}.}, the result of the comparison is unspecified.
4334+
see~\ref{expr.unary.op}.} the result of the comparison is unspecified.
43354335
\item
43364336
Otherwise, if the pointers are both null, both point to the same
43374337
\indextext{address}%

source/support.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@
164164
// Exposition-only function type aliases
165165
extern "C" using @\placeholdernc{c-atexit-handler}@ = void(); // \expos
166166
extern "C++" using @\placeholdernc{atexit-handler}@ = void(); // \expos
167-
extern "C" using @\placeholdernc{c-compare-pred}@ = int(const void* , const void*); // \expos
168-
extern "C++" using @\placeholdernc{compare-pred}@ = int(const void* , const void*); // \expos
167+
extern "C" using @\placeholdernc{c-compare-pred}@ = int(const void*, const void*); // \expos
168+
extern "C++" using @\placeholdernc{compare-pred}@ = int(const void*, const void*); // \expos
169169

170170
// \ref{support.start.term}, start and termination
171171
[[noreturn]] void abort() noexcept;

0 commit comments

Comments
 (0)