Skip to content

Commit 233dd61

Browse files
committed
Add a comment
1 parent f5f8a43 commit 233dd61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/SILGen/SILGenExpr.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,6 +1733,8 @@ static ManagedValue convertCFunctionSignature(SILGenFunction &SGF,
17331733
if (clangInfo.empty())
17341734
loweredDestTy = SGF.getLoweredType(destTy);
17351735
else
1736+
// This won't be necessary after we stop dropping clang types when
1737+
// canonicalizing function types.
17361738
loweredDestTy = SGF.getLoweredType(
17371739
AbstractionPattern(destTy->getCanonicalType(), clangInfo.getType()),
17381740
destTy);

0 commit comments

Comments
 (0)