[clang] [CIR] Implement Statement Expressions (PR #153677)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 15 14:31:10 PDT 2025


================
@@ -561,7 +558,6 @@ cir::FuncOp CIRGenFunction::generateCode(clang::GlobalDecl gd, cir::FuncOp fn,
       emitImplicitAssignmentOperatorBody(args);
     } else if (body) {
       if (mlir::failed(emitFunctionBody(body))) {
-        fn.erase();
----------------
bcardosolopes wrote:

This change is a bit suspicious, what's happening here?

https://github.com/llvm/llvm-project/pull/153677


More information about the cfe-commits mailing list