Skip to content

Fix misleading comment. #78660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/AST/ASTMangler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2303,9 +2303,9 @@ void ASTMangler::appendImplFunctionType(SILFunctionType *fn,

// Mangle if we have a sending result and we are in a recursive position.
//
// DISCUSSION: We only want sending results to change ABI if it is using in a
// function value passed to a parameter or generic position... but not if it
// is just added to a return type.
// DISCUSSION: We only want sending results to be in the mangling if it is
// being used in a function value passed to a parameter or generic
// position... but not if it is just added to a return type.
//
// E.x.:
//
Expand Down