Skip to content

Commit 5bf07c1

Browse files
committed
RequirementMachine: Don't suffix pack parameter symbols with ellipsis since ASTPrinter already prints 'each'
1 parent a9ef426 commit 5bf07c1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/AST/RequirementMachine/Symbol.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -700,12 +700,7 @@ void Symbol::dump(llvm::raw_ostream &out) const {
700700
}
701701

702702
case Kind::GenericParam: {
703-
auto *gp = getGenericParam();
704-
if (gp->isParameterPack()) {
705-
out << "(" << Type(gp) << "…)";
706-
} else {
707-
out << Type(gp);
708-
}
703+
out << Type(getGenericParam());
709704
return;
710705
}
711706

0 commit comments

Comments
 (0)