aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2024-10-07 13:17:45 -0700
committerGitHub <noreply@github.com>2024-10-07 13:17:45 -0700
commit70cbedcd6edf00fc11aa7685f41f8ec29ce84598 (patch)
treef7f187ed6459cf373e0b74edbd134c473e1df008 /clang/lib/CodeGen/ModuleBuilder.cpp
parent49016d53e8f54d4b0883f4fcb06800bcfd7bd40e (diff)
downloadllvm-70cbedcd6edf00fc11aa7685f41f8ec29ce84598.zip
llvm-70cbedcd6edf00fc11aa7685f41f8ec29ce84598.tar.gz
llvm-70cbedcd6edf00fc11aa7685f41f8ec29ce84598.tar.bz2
[flang] Catch errors with INTENT(OUT) assumed rank dummy arguments (#111204)
Emit an error when an actual argument with potentially unknown size (assumed size, or non-pointer non-allocatable assumed rank) with any risk of needing initialization, finalization, or destruction is associated with an INTENT(OUT) dummy argument with assumed rank. Emit an optional portability warning for cases where the type is known to be safe from needing initialization, finalization, or destruction, since it's not conforming and might elicit an error from other compilers. Fixes https://github.com/llvm/llvm-project/issues/111120.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions