diff options
author | Slava Zakharin <szakharin@nvidia.com> | 2023-05-02 11:08:12 -0700 |
---|---|---|
committer | Slava Zakharin <szakharin@nvidia.com> | 2023-05-03 09:19:35 -0700 |
commit | 1aff61ecbfa359929710ade5bd8320f71c40539c (patch) | |
tree | 890a1366e7c29d4b341f5055bc4867807d609bd3 /libcxx/test/std/utilities/function.objects | |
parent | 13441eb0f88f1dc7d95fa9eb2f77889ec9ad90e8 (diff) | |
download | llvm-1aff61ecbfa359929710ade5bd8320f71c40539c.zip llvm-1aff61ecbfa359929710ade5bd8320f71c40539c.tar.gz llvm-1aff61ecbfa359929710ade5bd8320f71c40539c.tar.bz2 |
[flang][runtime] Initialize LHS temporary in AssignTemporary.
If LHS is of derived type that needs initialization, then it must be
initialized before doing the assignment. Otherwise, the assignment
might behave incorrectly based on uninitialized components that are
descriptors themselves.
Differential Revision: https://reviews.llvm.org/D149681
Diffstat (limited to 'libcxx/test/std/utilities/function.objects')
0 files changed, 0 insertions, 0 deletions