Skip to content

Commit 9a04f3f

Browse files
committed
[Sema] Remove a check for SequenceExpr in pre-check
This is no longer needed now that we fold SequenceExpr during the pre-walk.
1 parent 30d7c9a commit 9a04f3f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Sema/PreCheckExpr.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,9 +1244,6 @@ namespace {
12441244
return parent;
12451245
};
12461246
if (auto *parent = takeNextParent()) {
1247-
if (isa<SequenceExpr>(parent))
1248-
return finish(true, expr);
1249-
12501247
SourceLoc lastInnerParenLoc;
12511248
// Unwrap to the outermost paren in the sequence.
12521249
// e.g. `foo(((&bar))`

0 commit comments

Comments
 (0)