SIL: Stub out type lowering of function types containing pack expansions

This commit is contained in:
Slava Pestov
2022-12-05 14:09:32 -05:00
parent 5b9aef91f8
commit f9141e1aa1
3 changed files with 49 additions and 4 deletions

View File

@@ -933,6 +933,20 @@ public:
return false;
}
}
bool isTypeParameterPack() const {
switch (getKind()) {
case Kind::Opaque:
return false;
case Kind::Type:
case Kind::ClangType:
case Kind::Discard: {
return getType()->isParameterPack();
}
default:
return false;
}
}
/// Is this an interface type that is subject to a concrete
/// same-type constraint?