Skip to content

Commit bcd788f

Browse files
Eelistkoeppe
authored andcommitted
[std] Fix dangling index redirects. (#4110)
1 parent 18b8dcc commit bcd788f

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@
10101010

10111011
\pnum
10121012
\indextext{scope!block}%
1013-
\indextext{local scope|see{block scope}}%
1013+
\indextext{local scope|see{scope, block}}%
10141014
A name declared in a block\iref{stmt.block} is local to that block; it has
10151015
\defnx{block scope}{block (statement)!scope}.
10161016
Its potential scope begins at its point of

source/classes.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3563,7 +3563,8 @@
35633563
derived object\iref{intro.object} is unspecified.
35643564
\begin{note}
35653565
\indextext{directed acyclic graph|see{DAG}}%
3566-
\indextext{lattice|see{DAG, subobject}}%
3566+
\indextext{lattice|see{DAG}}%
3567+
\indextext{lattice|see{subobject}}%
35673568
A derived class and its base class subobjects can be represented by a
35683569
directed acyclic graph (DAG) where an arrow means ``directly derived
35693570
from'' (see \fref{class.dag}).

source/declarations.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,10 @@
501501

502502
\rSec2[dcl.fct.spec]{Function specifiers}%
503503
\indextext{specifier!function}%
504-
\indextext{function|seealso{friend function; member function; inline function; virtual function}}
504+
\indextext{function|seealso{friend function}}
505+
\indextext{function|seealso{member function}}
506+
\indextext{function|seealso{inline function}}
507+
\indextext{function|seealso{virtual function}}
505508

506509
\pnum
507510
A

source/preprocessor.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
\rSec1[cpp.include]{Source file inclusion}
599599
\indextext{preprocessing directive!header inclusion}
600600
\indextext{preprocessing directive!source-file inclusion}
601-
\indextext{inclusion!source file|see{preprocessing directives, source-file inclusion}}%
601+
\indextext{inclusion!source file|see{preprocessing directive, source-file inclusion}}%
602602
\indextext{\idxcode{\#include}}%
603603

604604
\pnum
@@ -1525,7 +1525,7 @@
15251525

15261526
\rSec1[cpp.line]{Line control}%
15271527
\indextext{preprocessing directive!line control}%
1528-
\indextext{\idxcode{\#line}|see{preprocessing directives, line control}}
1528+
\indextext{\idxcode{\#line}|see{preprocessing directive, line control}}
15291529

15301530
\pnum
15311531
The \grammarterm{string-literal} of a
@@ -1581,7 +1581,7 @@
15811581

15821582
\rSec1[cpp.error]{Error directive}%
15831583
\indextext{preprocessing directive!error}%
1584-
\indextext{\idxcode{\#error}|see{preprocessing directives, error}}
1584+
\indextext{\idxcode{\#error}|see{preprocessing directive, error}}
15851585

15861586
\pnum
15871587
A preprocessing directive of the form
@@ -1594,7 +1594,7 @@
15941594

15951595
\rSec1[cpp.pragma]{Pragma directive}%
15961596
\indextext{preprocessing directive!pragma}%
1597-
\indextext{\idxcode{\#pragma}|see{preprocessing directives, pragma}}
1597+
\indextext{\idxcode{\#pragma}|see{preprocessing directive, pragma}}
15981598

15991599
\pnum
16001600
A preprocessing directive of the form

source/templates.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3816,7 +3816,7 @@
38163816
the same set of template argument lists.
38173817

38183818
\pnum
3819-
\indextext{template!function!equivalent|see{equivalent, function template}}%
3819+
\indextext{template!function!equivalent|see{equivalent, function templates}}%
38203820
Two function templates are
38213821
\defnx{equivalent}{equivalent!function templates}
38223822
if they
@@ -3830,7 +3830,7 @@
38303830
expressions involving
38313831
template parameters.
38323832
\indextext{equivalent!functionally|see{functionally equivalent}}%
3833-
\indextext{template!function!functionally equivalent|see{functionally equivalent, function template}}%
3833+
\indextext{template!function!functionally equivalent|see{functionally equivalent, function templates}}%
38343834
Two function templates are
38353835
\defnx{functionally equivalent}{functionally equivalent!function templates}
38363836
if they

source/threads.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5555,7 +5555,7 @@
55555555
the next phase starts.
55565556
\end{itemize}
55575557

5558-
\indextext{phase synchronization point|see{barrier, phase synchronization point }}%
5558+
\indextext{phase synchronization point|see{barrier, phase synchronization point}}%
55595559
\pnum
55605560
\indextext{block (execution)}%
55615561
Each phase defines a \defnx{phase synchronization point}{barrier!phase synchronization point}.

0 commit comments

Comments
 (0)