[flang-commits] [flang] [flang] Fix hlfir.as_expr codegen for polymorphic entities (PR #80824)
    Slava Zakharin via flang-commits 
    flang-commits at lists.llvm.org
       
    Tue Feb  6 09:18:02 PST 2024
    
    
  
================
@@ -159,6 +159,22 @@ createArrayTemp(mlir::Location loc, fir::FirOpBuilder &builder,
   return {hlfir::Entity{declareOp.getBase()}, trueVal};
 }
 
+/// Copy \p source into a new temporary and package the temporary into a
+/// <temp,cleanup> tuple. The temporary may be heap of stack allocated.
----------------
vzakhari wrote:
typo
```suggestion
/// <temp,cleanup> tuple. The temporary may be heap or stack allocated.
```
https://github.com/llvm/llvm-project/pull/80824
    
    
More information about the flang-commits
mailing list