Skip to content

Commit 250f73c

Browse files
committed
Remove 'EmitUnsupportedLValue' as TIE is always a wide pointer
1 parent 154b54c commit 250f73c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/lib/CodeGen/CGExpr.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7218,8 +7218,6 @@ LValue CodeGenFunction::EmitForgePtrExprLValue(const ForgePtrExpr *E) {
72187218
}
72197219

72207220
LValue CodeGenFunction::EmitTerminatedByToIndexableExprLValue(const TerminatedByToIndexableExpr *E) {
7221-
if (!E->getType()->isPointerTypeWithBounds())
7222-
return EmitUnsupportedLValue(E, "l-value expression");
72237221
return EmitAggExprToLValue(E);
72247222
}
72257223

0 commit comments

Comments
 (0)