Skip to content

Commit 0044c8f

Browse files
committed
[ConstraintSystem] Add support for functionRef to SolutionApplicationTargetsKey::dump
1 parent a368f02 commit 0044c8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Sema/ConstraintSystem.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6122,6 +6122,10 @@ void SolutionApplicationTargetsKey::dump(raw_ostream &OS) const {
61226122
storage.varDecl->dump(OS);
61236123
return;
61246124

6125+
case Kind::functionRef:
6126+
OS << "<function>\n";
6127+
storage.functionRef->dumpContext();
6128+
return;
61256129
}
61266130
llvm_unreachable("invalid statement kind");
61276131
}

0 commit comments

Comments
 (0)