summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorpeter klausler <pklausler@nvidia.com>2021-07-29 12:02:45 -0700
committerpeter klausler <pklausler@nvidia.com>2021-08-09 09:31:32 -0700
commit65f52904324735da7bb4bc9ef5060a3f784e6bea (patch)
tree6a420f3d4bd33135c957ba7eb28dede4e0c13ea2 /clang/lib/CodeGen/CodeGenModule.cpp
parent6f85d9e104ca5f785718b25dccb5817b0c6c208d (diff)
[flang] Implement runtime Assign()
Define an API for, and implement, runtime support for arbitrary assignment of one descriptor's data to another, with full support for (re)allocation of allocatables with finalization when necessary, user-defined derived type assignment TBP calls, and intrinsic (default) componentwise assignment of derived type instances with allocation of automatic components. Also clean up API and implementation of finalization/destruction using knowledge gained while studying edge cases for assignment in the 2018 standard. The look-up procedure for special procedure bindings in derived types has been optimized from O(N) to O(1) since it will probably matter more. This required some analysis in runtime derived type description table construction in semantics and some changes to the table schemata. Executable Fortran tests have been developed; they'll be added to the test base once they can be lowered and run by f18. Differential Revision: https://reviews.llvm.org/D107678
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions