[flang-commits] [flang] [flang] Centralize automatic deallocation code in lowering (PR #67003)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Thu Sep 21 07:54:14 PDT 2023


================
@@ -57,6 +57,11 @@ void genDeallocateBox(AbstractConverter &converter,
                       const fir::MutableBoxValue &box, mlir::Location loc,
                       mlir::Value declaredTypeDesc = {});
 
+/// Deallocate an allocatable if it allocated at the end of its lifetime.
----------------
vzakhari wrote:

nit:
```suggestion
/// Deallocate an allocatable if it is allocated at the end of its lifetime.
```

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


More information about the flang-commits mailing list