-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[SE-0408] Enable Pack Iteration #67594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5832181
42a0666
6ab8310
af56beb
be212ba
f276bd2
b0af0f7
a687032
2348599
48cb330
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -446,6 +446,9 @@ void ForEachStmt::setPattern(Pattern *p) { | |
| } | ||
|
|
||
| Expr *ForEachStmt::getTypeCheckedSequence() const { | ||
| if (auto *expansion = dyn_cast<PackExpansionExpr>(getParsedSequence())) | ||
| return expansion; | ||
|
||
|
|
||
| return iteratorVar ? iteratorVar->getInit(/*index=*/0) : nullptr; | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.