Skip to content

Commit b6a14e2

Browse files
ntreldlang-bot
authored andcommitted
Fix broken DDSUBLINKs & code_coverage DDLINK
1 parent ca8091c commit b6a14e2

File tree

12 files changed

+27
-27
lines changed

12 files changed

+27
-27
lines changed

articles/ctarguments.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ string
146146
void()
147147
)
148148

149-
$(P $(B Note:) $(DDSUBLINK version, staticforeach, Static foreach)
149+
$(P $(B Note:) $(DDSUBLINK spec/version, staticforeach, Static foreach)
150150
should be preferred in new code.)
151151

152152
$(H2 $(LNAME2 auto-expansion, Auto-expansion))

spec/arrays.dd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ assert(i == 4);
8181
)
8282

8383
$(BEST_PRACTICE Most conventional uses for pointers can be replaced with
84-
dynamic arrays, $(D ref) and $(D out) $(DDSUBLINK function, parameters, parameters),
84+
dynamic arrays, $(D ref) and $(D out) $(DDSUBLINK spec/function, parameters, parameters),
8585
and reference types.
8686
)
8787

@@ -162,7 +162,7 @@ int[2] = [1, 2];
162162
---
163163
$(P `[]` is an empty array literal.)
164164

165-
$(P See $(DDSUBLINK expression, array_literals, Array Literals).)
165+
$(P See $(DDSUBLINK spec/expression, array_literals, Array Literals).)
166166

167167
$(LEGACY_LNAME2 usage)
168168
$(H2 $(LNAME2 assignment, Array Assignment))
@@ -735,7 +735,7 @@ assert(cap == array.capacity);
735735

736736
$(H3 $(LNAME2 func-as-property, Functions as Array Properties))
737737

738-
$(P See $(DDSUBLINK function, pseudo-member, Uniform Function Call Syntax (UFCS)).)
738+
$(P See $(DDSUBLINK spec/function, pseudo-member, Uniform Function Call Syntax (UFCS)).)
739739

740740
$(H2 $(LNAME2 bounds, Array Bounds Checking))
741741

@@ -798,7 +798,7 @@ int x = foo[3]; // error, out of bounds
798798
The runtime behavior is part of the language semantics.
799799
)
800800

801-
$(P See also $(DDSUBLINK function, safe-functions, Safe Functions).)
801+
$(P See also $(DDSUBLINK spec/function, safe-functions, Safe Functions).)
802802

803803
$(H3 $(LNAME2 disable-bounds-check, Disabling Array Bounds Checking))
804804

spec/attribute.dd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,11 @@ void main() { foo(); /* error, foo is disabled */ }
521521

522522
$(H2 $(LNAME2 safe, $(D @safe), $(D @trusted), and $(D @system) Attribute))
523523

524-
$(P See $(DDSUBLINK function, function-safety, Function Safety).)
524+
$(P See $(DDSUBLINK spec/function, function-safety, Function Safety).)
525525

526526
$(H2 $(LNAME2 nogc, $(D @nogc) Attribute))
527527

528-
$(P See $(DDSUBLINK function, nogc-functions, No-GC Functions).)
528+
$(P See $(DDSUBLINK spec/function, nogc-functions, No-GC Functions).)
529529

530530
$(H2 $(LNAME2 property, $(D @property) Attribute))
531531

@@ -606,7 +606,7 @@ auto i = 6.8; // declare i as a double
606606
---
607607

608608
$(P For functions, the `auto` attribute means return type inference.
609-
See $(DDSUBLINK function, auto-functions, Auto Functions).
609+
See $(DDSUBLINK spec/function, auto-functions, Auto Functions).
610610
)
611611

612612
$(H2 $(LNAME2 scope, $(D scope) Attribute))

spec/contracts.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $(H2 $(LNAME2 pre_post_contracts, Pre and Post Contracts))
3434

3535
$(H2 $(LNAME2 Invariants, Invariants))
3636

37-
$(P See $(DDSUBLINK struct, Invariant, Struct Invariants) and $(DDSUBLINK class, invariants, Class Invariants).)
37+
$(P See $(DDSUBLINK spec/struct, Invariant, Struct Invariants) and $(DDSUBLINK spec/class, invariants, Class Invariants).)
3838

3939

4040
$(H2 $(LNAME2 references, References))

spec/expression.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ $(GNAME UnaryExpression):
945945

946946
$(TABLE
947947
$(THEAD Operator, Description)
948-
$(TROW `&`, Take memory address of an $(RELATIVE_LINK2 .define-lvalue, lvalue) - see $(DDSUBLINK arrays, pointers, pointers))
948+
$(TROW `&`, Take memory address of an $(RELATIVE_LINK2 .define-lvalue, lvalue) - see $(DDSUBLINK spec/arrays, pointers, pointers))
949949
$(TROW `++`, Increment before use - see $(RELATIVE_LINK2 order-of-evaluation, order of evaluation))
950950
$(TROW `--`, Decrement before use)
951951
$(TROW `*`, Dereference/indirection - typically for pointers)

spec/function.dd

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ void test()
987987
$(UL
988988
$(LI Struct and union member functions)
989989
$(LI `final` member functions)
990-
$(LI $(DDSUBLINK attribute, static, `static`) member functions)
990+
$(LI $(DDSUBLINK spec/attribute, static, `static`) member functions)
991991
$(LI Member functions which are $(D private) or $(D package))
992992
$(LI Member template functions)
993993
)
@@ -3070,7 +3070,7 @@ void main()
30703070
$(LI Expressions may not reference any global or local
30713071
static variables.)
30723072

3073-
$(LI $(DDSUBLINK iasm, asmstatements, AsmStatements) are not permitted)
3073+
$(LI $(DDSUBLINK spec/iasm, asmstatements, AsmStatements) are not permitted)
30743074

30753075
$(LI Non-portable casts (eg, from $(D int[]) to $(D float[])), including
30763076
casts which depend on endianness, are not permitted.
@@ -3204,14 +3204,14 @@ $(H2 $(LNAME2 nogc-functions, No-GC Functions))
32043204
)
32053205

32063206
$(OL
3207-
$(LI $(DDSUBLINK expression, ArrayLiteral, constructing an array) on the heap)
3207+
$(LI $(DDSUBLINK spec/expression, ArrayLiteral, constructing an array) on the heap)
32083208
$(LI resizing an array by writing to its $(D .length) property)
3209-
$(LI $(DDSUBLINK expression, CatExpression, array concatenation))
3210-
$(LI $(DDSUBLINK expression, simple_assignment_expressions, array appending))
3211-
$(LI $(DDSUBLINK expression, AssocArrayLiteral, constructing an associative array))
3212-
$(LI $(DDSUBLINK expression, IndexExpression, indexing) an associative array
3209+
$(LI $(DDSUBLINK spec/expression, CatExpression, array concatenation))
3210+
$(LI $(DDSUBLINK spec/expression, simple_assignment_expressions, array appending))
3211+
$(LI $(DDSUBLINK spec/expression, AssocArrayLiteral, constructing an associative array))
3212+
$(LI $(DDSUBLINK spec/expression, IndexExpression, indexing) an associative array
32133213
$(NOTE because it may throw $(D RangeError) if the specified key is not present))
3214-
$(LI $(DDSUBLINK expression, NewExpression, allocating an object with `new`) on the heap)
3214+
$(LI $(DDSUBLINK spec/expression, NewExpression, allocating an object with `new`) on the heap)
32153215
$(LI calling functions that are not `@nogc`, unless the call is
32163216
in a $(GLINK2 version, ConditionalStatement)
32173217
controlled by a $(GLINK2 version, DebugCondition))

spec/hash-map.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static assert(is(typeof(aa) == string[uint]));
4040
assert(aa[2] == "hi");
4141
---
4242
)
43-
$(P See $(DDSUBLINK expression, associative_array_literals, Associative Array Literals).)
43+
$(P See $(DDSUBLINK spec/expression, associative_array_literals, Associative Array Literals).)
4444

4545
$(H2 $(LNAME2 removing_keys, Removing Keys))
4646

spec/simd.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ $(HEADERNAV_TOC)
1111

1212
$(P Specialized $(GLINK2 type, Vector) types provide access to them.)
1313

14-
$(P The $(GLINK2 type, VectorBaseType) must be a $(DDSUBLINK arrays, static-arrays, Static Array).
14+
$(P The $(GLINK2 type, VectorBaseType) must be a $(DDSUBLINK spec/arrays, static-arrays, Static Array).
1515
The $(GNAME VectorElementType) is the unqualified element type of the
1616
static array.
1717
The dimension of the static array is the number

spec/template.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ $(H3 $(LNAME2 return-deduction, Return Type Deduction))
12181218
$(P Function templates can have their return types deduced based on the
12191219
$(GLINK2 statement, ReturnStatement)s in the function, just as with
12201220
normal functions.
1221-
See $(DDSUBLINK function, auto-functions, Auto Functions).
1221+
See $(DDSUBLINK spec/function, auto-functions, Auto Functions).
12221222
)
12231223

12241224
$(SPEC_RUNNABLE_EXAMPLE_COMPILE

spec/traits.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,7 @@ void main()
16951695
$(H2 $(GNAME toType))
16961696

16971697
$(P Takes a single argument, which must evaluate to an expression of type `string`.
1698-
The contents of the string must correspond to the $(DDSUBLINK abi, name_mangling, mangled contents of a type)
1698+
The contents of the string must correspond to the $(DDSUBLINK spec/abi, name_mangling, mangled contents of a type)
16991699
that has been seen by the implementation.)
17001700

17011701
$(P Only D mangling is supported. Other manglings, such as C++ mangling, are not.)
@@ -1712,7 +1712,7 @@ $(H2 $(GNAME toType))
17121712
__traits(toType, "i") x = 4; // x is also declared as type `int`
17131713
---
17141714

1715-
$(RATIONALE Provides the inverse operation of the $(DDSUBLINK property, mangleof, `.mangleof`) property.)
1715+
$(RATIONALE Provides the inverse operation of the $(DDSUBLINK spec/property, mangleof, `.mangleof`) property.)
17161716

17171717
$(H2 $(GNAME initSymbol))
17181718

0 commit comments

Comments
 (0)