Skip to content

Commit 3369ee7

Browse files
committed
Address code review comment
1 parent 8fd8dee commit 3369ee7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,12 @@ LValue ComplexExprEmitter::emitBinAssignLValue(const BinaryOperator *e,
7575
mlir::Value ComplexExprEmitter::emitCast(CastKind ck, Expr *op,
7676
QualType destTy) {
7777
switch (ck) {
78-
case CK_LValueToRValue: {
78+
case CK_LValueToRValue:
7979
return Visit(op);
80-
}
8180
default:
8281
cgf.cgm.errorNYI("ComplexType Cast");
8382
break;
8483
}
85-
8684
return {};
8785
}
8886

0 commit comments

Comments
 (0)