Skip to content

Commit 461f9d1

Browse files
authored
Merge pull request #2829 from MoonlightSentinel/varargs
Document allowed storage classes for ... varargs merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2 parents 995718d + a93a1ad commit 461f9d1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

spec/function.dd

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $(GNAME Parameters):
3333
$(GNAME ParameterList):
3434
$(GLINK Parameter)
3535
$(GLINK Parameter) $(D ,) $(I ParameterList)
36-
$(D ...)
36+
$(I VariadicArgumentsAttributes) $(D ...)
3737

3838
$(GNAME Parameter):
3939
$(I ParameterAttributes)$(OPT) $(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator)
@@ -59,6 +59,17 @@ $(GNAME InOut):
5959
$(D ref)
6060
$(RELATIVE_LINK2 return-ref-parameters, $(D return ref))
6161
$(D scope)
62+
63+
$(GNAME VariadicArgumentsAttributes):
64+
$(GLINK VariadicArgumentsAttribute)
65+
$(GLINK VariadicArgumentsAttribute) $(GLINK VariadicArgumentsAttributes)
66+
67+
$(GNAME VariadicArgumentsAttribute):
68+
$(D const)
69+
$(D immutable)
70+
$(D return)
71+
$(D scope)
72+
$(D shared)
6273
)
6374

6475
$(H3 Function attributes)

0 commit comments

Comments
 (0)