aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authoryronglin <yronglin777@gmail.com>2024-10-11 00:04:02 +0800
committerGitHub <noreply@github.com>2024-10-11 00:04:02 +0800
commit25d9688c43d37c0c918e9b8ab2f67be35b0fb75f (patch)
tree978d1a0182b74452a948cf2406b3b965bbd56ee8 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parentcb5fbd2f60a5a588bfa4668ea8269c3568cbff6e (diff)
downloadllvm-25d9688c43d37c0c918e9b8ab2f67be35b0fb75f.zip
llvm-25d9688c43d37c0c918e9b8ab2f67be35b0fb75f.tar.gz
llvm-25d9688c43d37c0c918e9b8ab2f67be35b0fb75f.tar.bz2
[Clang] Extend lifetime of temporaries in mem-default-init for P2718R0 (#86960)
Depends on [CWG1815](https://github.com/llvm/llvm-project/pull/108039). Fixes https://github.com/llvm/llvm-project/issues/85613. In [[Clang] Implement P2718R0 "Lifetime extension in range-based for loops"](https://github.com/llvm/llvm-project/pull/76361), we've not implement the lifetime extensions for the temporaries which in `CXXDefaultInitExpr`. As the confirmation in https://github.com/llvm/llvm-project/issues/85613, we should extend lifetime for that. To avoid modifying current CodeGen rules, in a lifetime extension context, the cleanup of `CXXDefaultInitExpr` was ignored. --------- Signed-off-by: yronglin <yronglin777@gmail.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions