mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SIL: Stub out type lowering of function types containing pack expansions
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user