llvm-project/flang/unittests
Valentin Clement 52e239794f
[flang] Add AllocatableInit functions for use in allocate lowering
`AllocatableInitIntrinsic`, `AllocatableInitCharacter` and
`AllocatableInitDerived` are meant to be used to initialize a
descriptor when it is instantiated and not to be used multiple
times in a scope.
Add `AllocatableInitDerivedForAllocate`, `AllocatableInitCharacterForAllocate`
and `AllocatableInitDerivedForAllocate` to be used for the allocation
in allocate statement.
These new functions are meant to be used on an initialized descriptor
and will return directly if the descriptor is allocated so the
error handling is done by the call to `AllocatableAllocate`.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D146290
2023-03-20 10:00:43 +01:00
..
Common [flang] Allow more concurrently open NEWUNIT= values, with recycling 2022-02-28 16:13:22 -08:00
Decimal [flang][runtime] Fix edge-case FP input bugs 2022-04-22 16:12:04 -07:00
Evaluate [flang] Establish a single source of target information for semantics 2022-07-06 10:25:34 -07:00
Frontend [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
Optimizer Break circular dependency between FIR dialect and utilities 2023-03-09 15:24:51 -08:00
Runtime [flang] Add AllocatableInit functions for use in allocate lowering 2023-03-20 10:00:43 +01:00
CMakeLists.txt [flang] Allow more concurrently open NEWUNIT= values, with recycling 2022-02-28 16:13:22 -08:00