Skip to content

Commit e80ca43

Browse files
author
Amritpan Kaur
committed
[CSBindings] Reformat bindings list.
1 parent b416fa9 commit e80ca43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/Sema/CSBindings.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,9 +1671,11 @@ void BindingSet::dump(llvm::raw_ostream &out, unsigned indent) const {
16711671
out << type.getString(PO);
16721672
};
16731673

1674-
out << "bindings={";
1674+
out << "[with possible bindings: ";
16751675
interleave(Bindings, printBinding, [&]() { out << "; "; });
1676-
out << "}";
1676+
if (Bindings.empty())
1677+
out << "<empty>";
1678+
out << "]";
16771679

16781680
if (!Defaults.empty()) {
16791681
out << " defaults={";

0 commit comments

Comments
 (0)