Skip to content

Commit cc75752

Browse files
author
Amritpan Kaur
committed
[CSBindings] Reformat type variable and possible bindings to use - instead of () when printing.
1 parent 4aaec66 commit cc75752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Sema/CSBindings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,11 +1608,11 @@ unsigned BindingSet::getNumViableLiteralBindings() const {
16081608
void BindingSet::dump(TypeVariableType *typeVar, llvm::raw_ostream &out,
16091609
unsigned indent) const {
16101610
out.indent(indent);
1611-
out << "(";
1611+
out << "- ";
16121612
if (typeVar)
16131613
out << "$T" << typeVar->getImpl().getID();
16141614
dump(out, 1);
1615-
out << ")\n";
1615+
out << "\n";
16161616
}
16171617

16181618
void BindingSet::dump(llvm::raw_ostream &out, unsigned indent) const {

0 commit comments

Comments
 (0)