Skip to content

Commit 3152573

Browse files
committed
Replace redundant GBLINK macro with the existing GLINK
1 parent f71f373 commit 3152573

File tree

1 file changed

+47
-48
lines changed

1 file changed

+47
-48
lines changed

spec/traits.dd

Lines changed: 47 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -18,52 +18,52 @@ $(GNAME TraitsExpression):
1818
$(D __traits) $(D $(LPAREN)) $(GLINK TraitsKeyword) $(D ,) $(GLINK TraitsArguments) $(D $(RPAREN))
1919

2020
$(GNAME TraitsKeyword):
21-
$(GBLINK isAbstractClass)
22-
$(GBLINK isArithmetic)
23-
$(GBLINK isAssociativeArray)
24-
$(GBLINK isFinalClass)
25-
$(GBLINK isPOD)
26-
$(GBLINK isNested)
27-
$(GBLINK isFuture)
28-
$(GBLINK isDeprecated)
29-
$(GBLINK isFloating)
30-
$(GBLINK isIntegral)
31-
$(GBLINK isScalar)
32-
$(GBLINK isStaticArray)
33-
$(GBLINK isUnsigned)
34-
$(GBLINK isDisabled)
35-
$(GBLINK isVirtualFunction)
36-
$(GBLINK isVirtualMethod)
37-
$(GBLINK isAbstractFunction)
38-
$(GBLINK isFinalFunction)
39-
$(GBLINK isStaticFunction)
40-
$(GBLINK isOverrideFunction)
41-
$(GBLINK isTemplate)
42-
$(GBLINK isRef)
43-
$(GBLINK isOut)
44-
$(GBLINK isLazy)
45-
$(GBLINK hasMember)
46-
$(GBLINK identifier)
47-
$(GBLINK getAliasThis)
48-
$(GBLINK getAttributes)
49-
$(GBLINK getFunctionAttributes)
50-
$(GBLINK getFunctionVariadicStyle)
51-
$(GBLINK getLinkage)
52-
$(GBLINK getMember)
53-
$(GBLINK getOverloads)
54-
$(GBLINK getParameterStorageClasses)
55-
$(GBLINK getPointerBitmap)
56-
$(GBLINK getProtection)
57-
$(GBLINK getVirtualFunctions)
58-
$(GBLINK getVirtualMethods)
59-
$(GBLINK getUnitTests)
60-
$(GBLINK parent)
61-
$(GBLINK classInstanceSize)
62-
$(GBLINK getVirtualIndex)
63-
$(GBLINK allMembers)
64-
$(GBLINK derivedMembers)
65-
$(GBLINK isSame)
66-
$(GBLINK compiles)
21+
$(GLINK isAbstractClass)
22+
$(GLINK isArithmetic)
23+
$(GLINK isAssociativeArray)
24+
$(GLINK isFinalClass)
25+
$(GLINK isPOD)
26+
$(GLINK isNested)
27+
$(GLINK isFuture)
28+
$(GLINK isDeprecated)
29+
$(GLINK isFloating)
30+
$(GLINK isIntegral)
31+
$(GLINK isScalar)
32+
$(GLINK isStaticArray)
33+
$(GLINK isUnsigned)
34+
$(GLINK isDisabled)
35+
$(GLINK isVirtualFunction)
36+
$(GLINK isVirtualMethod)
37+
$(GLINK isAbstractFunction)
38+
$(GLINK isFinalFunction)
39+
$(GLINK isStaticFunction)
40+
$(GLINK isOverrideFunction)
41+
$(GLINK isTemplate)
42+
$(GLINK isRef)
43+
$(GLINK isOut)
44+
$(GLINK isLazy)
45+
$(GLINK hasMember)
46+
$(GLINK identifier)
47+
$(GLINK getAliasThis)
48+
$(GLINK getAttributes)
49+
$(GLINK getFunctionAttributes)
50+
$(GLINK getFunctionVariadicStyle)
51+
$(GLINK getLinkage)
52+
$(GLINK getMember)
53+
$(GLINK getOverloads)
54+
$(GLINK getParameterStorageClasses)
55+
$(GLINK getPointerBitmap)
56+
$(GLINK getProtection)
57+
$(GLINK getVirtualFunctions)
58+
$(GLINK getVirtualMethods)
59+
$(GLINK getUnitTests)
60+
$(GLINK parent)
61+
$(GLINK classInstanceSize)
62+
$(GLINK getVirtualIndex)
63+
$(GLINK allMembers)
64+
$(GLINK derivedMembers)
65+
$(GLINK isSame)
66+
$(GLINK compiles)
6767

6868
$(GNAME TraitsArguments):
6969
$(GLINK TraitsArgument)
@@ -705,7 +705,7 @@ $(H2 $(GNAME getPointerBitmap))
705705
The result is an array of $(D size_t) describing the memory used by an instance of the given type.
706706
)
707707
$(P The first element of the array is the size of the type (for classes it is
708-
the $(GBLINK classInstanceSize)).)
708+
the $(GLINK classInstanceSize)).)
709709
$(P The following elements describe the locations of GC managed pointers within the
710710
memory occupied by an instance of the type.
711711
For type T, there are $(D T.sizeof / size_t.sizeof) possible pointers represented
@@ -1124,4 +1124,3 @@ $(SPEC_SUBNAV_PREV_NEXT version, Conditional Compilation, errors, Error Handling
11241124
Macros:
11251125
CHAPTER=25
11261126
TITLE=Traits
1127-
GBLINK=$(RELATIVE_LINK2 $0, $(D $0))

0 commit comments

Comments
 (0)