================
@@ -1400,7 +1411,10 @@ class CIRGenFunction : public CIRGenTypeCache {
/// Force the emission of cleanups now, instead of waiting
/// until this object is destroyed.
- void forceCleanup(ArrayRef<mlir::Value *> valuesToReload = {}) {
+ /// Conditional arms leave lifetime-extended entries pending until the
+ /// enclosing full expression ends.
+ void forceCleanup(ArrayRef<mlir::Value *> valuesToReload = {},
+ bool deferLifetimeExtended = false) {
----------------
E00N777 wrote:
I missed that `RunCleanupsScope` already has `deferLifetimeExtended`.
I removed the new parameter, so `forceCleanup` is back to its original form.
https://github.com/llvm/llvm-project/pull/236102
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits