File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,16 @@ class SILType {
348
348
// / An efficient implementation of `!isTrivial() && isOrContainsRawPointer()`.
349
349
bool isNonTrivialOrContainsRawPointer (const SILFunction *f) const ;
350
350
351
+ // / Whether the type contains a generic parameter declared as a parameter
352
+ // / pack.
353
+ bool hasParameterPack () const { return getASTType ()->hasParameterPack (); }
354
+
355
+ // / Whether the type contains a concrete pack.
356
+ bool hasConcretePack () const { return getASTType ()->hasConcretePack (); }
357
+
358
+ // / Whether the type contains some flavor of pack.
359
+ bool hasPack () const { return getASTType ()->hasPack (); }
360
+
351
361
// / True if the type is an empty tuple or an empty struct or a tuple or
352
362
// / struct containing only empty types.
353
363
bool isEmpty (const SILFunction &F) const ;
You can’t perform that action at this time.
0 commit comments