Skip to content

Commit 1ce3753

Browse files
martinboehmezoecarver
authored andcommitted
Another response to review comments.
1 parent 7e8ea12 commit 1ce3753

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/IRGen/GenCall.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,6 +1318,8 @@ void SignatureExpansion::expandExternalSignatureTypes() {
13181318
// Convert each parameter to a Clang type.
13191319
for (auto param : params) {
13201320
auto clangTy = IGM.getClangType(param, FnType);
1321+
// If a parameter type is lowered to void, this means it should be ignored.
1322+
// For example, this happens for thin metatypes.
13211323
if (clangTy->isVoidType()) {
13221324
continue;
13231325
}

0 commit comments

Comments
 (0)