[llvm-branch-commits] [flang][runtime] Added self-printing for InternalUnit. (PR #85181)

Peter Klausler via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 14 08:49:10 PDT 2024


https://github.com/klausler commented:

If you want to support child I/O (user-defined derived type I/O) on the device, this approach of adding special behavior to the internal units won't work -- child I/O is embedded in external units.  It might be clearer to support this device output path by extending the external unit class instead -- its `FileFrame` template in buffer.h can be instantiated on a `Store` that has no `Read` and only a rudimentary `Write`.

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


More information about the llvm-branch-commits mailing list