Skip to content

Commit 0c59770

Browse files
committed
[CIR][NFS] Fix dead code return statement warning
1 parent 6fe62e9 commit 0c59770

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,9 +1857,6 @@ mlir::Value ScalarExprEmitter::VisitUnaryLNot(const UnaryOperator *e) {
18571857

18581858
// ZExt result to the expr type.
18591859
return maybePromoteBoolResult(boolVal, cgf.convertType(e->getType()));
1860-
1861-
cgf.cgm.errorNYI("destination type for logical-not unary operator is NYI");
1862-
return {};
18631860
}
18641861

18651862
/// Return the size or alignment of the type of argument of the sizeof

0 commit comments

Comments
 (0)