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 @@ -373,6 +373,16 @@ class SILType {
373
373
// / An efficient implementation of `!isTrivial() && isOrContainsRawPointer()`.
374
374
bool isNonTrivialOrContainsRawPointer (const SILFunction *f) const ;
375
375
376
+ // / Whether the type contains a generic parameter declared as a parameter
377
+ // / pack.
378
+ bool hasParameterPack () const { return getASTType ()->hasParameterPack (); }
379
+
380
+ // / Whether the type contains a concrete pack.
381
+ bool hasConcretePack () const { return getASTType ()->hasConcretePack (); }
382
+
383
+ // / Whether the type contains some flavor of pack.
384
+ bool hasPack () const { return getASTType ()->hasPack (); }
385
+
376
386
// / True if the type is an empty tuple or an empty struct or a tuple or
377
387
// / struct containing only empty types.
378
388
bool isEmpty (const SILFunction &F) const ;
You can’t perform that action at this time.
0 commit comments