Skip to content

Commit 8e0cddd

Browse files
committed
[AST] Fix ArgumentList constructor to pass arena
Noticed by inspection.
1 parent dc60996 commit 8e0cddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/ArgumentList.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ ArgumentList *ArgumentList::createImplicit(ASTContext &ctx, SourceLoc lParenLoc,
116116
ArgumentList *ArgumentList::createImplicit(ASTContext &ctx,
117117
ArrayRef<Argument> args,
118118
AllocationArena arena) {
119-
return createImplicit(ctx, SourceLoc(), args, SourceLoc());
119+
return createImplicit(ctx, SourceLoc(), args, SourceLoc(), arena);
120120
}
121121

122122
ArgumentList *ArgumentList::forImplicitSingle(ASTContext &ctx, Identifier label,

0 commit comments

Comments
 (0)