[CIR][NFS] Fix dead code return statement warning (#142591)
Fix the warning related to the missing return statement and multiple
return statements
diff --git a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
index 0d9252a..e249069 100644
--- a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
@@ -1858,9 +1858,6 @@
// ZExt result to the expr type.
return maybePromoteBoolResult(boolVal, cgf.convertType(e->getType()));
-
- cgf.cgm.errorNYI("destination type for logical-not unary operator is NYI");
- return {};
}
/// Return the size or alignment of the type of argument of the sizeof