diff options
author | Daniel Chen <cdchen@ca.ibm.com> | 2024-04-03 08:51:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 08:51:14 -0400 |
commit | 7ec87c473936245ea11f8bb64c936e5112f25e6a (patch) | |
tree | 875a291097629893da0416d3a27588b31eab7e67 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 2bf7ddf06f773277fcfef58a3cd8c32a161ce36a (diff) | |
download | llvm-7ec87c473936245ea11f8bb64c936e5112f25e6a.zip llvm-7ec87c473936245ea11f8bb64c936e5112f25e6a.tar.gz llvm-7ec87c473936245ea11f8bb64c936e5112f25e6a.tar.bz2 |
[Flang] Support for procedure pointer component default initialization. (#87356)
This PR is to address `TODO(loc, "procedure pointer component default
initialization");`.
It handles default init for procedure pointer components in a derived
type that is 32 bytes or larger (Default init for smaller size type has
already been handled).
```
interface
subroutine sub()
end
end interface
type dt
real :: r1 = 5.0
procedure(real), pointer, nopass :: pp1 => null()
real, pointer :: rp1 => null()
procedure(), pointer, nopass :: pp2 => sub
end type
type(dt) :: dd1
end
```
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions