[clang] [WIP][Clang] Extend lifetime of the temporary in default member init expression (PR #86960)

2024-04-02 Thread via cfe-commits
https://github.com/yronglin updated https://github.com/llvm/llvm-project/pull/86960 >From 2e05cb427d245261c779725f355ec93f4989939b Mon Sep 17 00:00:00 2001 From: yronglin Date: Tue, 2 Apr 2024 23:47:33 +0800 Subject: [PATCH] [Clang] Extend lifetime of temporaries in mem-default-init for P2718R

[clang] [WIP][Clang] Extend lifetime of the temporary in default member init expression (PR #86960)

2024-03-30 Thread via cfe-commits
https://github.com/yronglin updated https://github.com/llvm/llvm-project/pull/86960 >From 107cf4fdda2680a3de4fd0cea6e9fc1eaaf5f8c7 Mon Sep 17 00:00:00 2001 From: yronglin Date: Thu, 28 Mar 2024 22:02:16 +0800 Subject: [PATCH] [WIP][Clang] Extend lifetime of the temporary in default member init

[clang] [WIP][Clang] Extend lifetime of the temporary in default member init expression (PR #86960)

2024-03-28 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 49b520856967c2354339d3c2a05fcf1d2d637f30 107cf4fdda2680a3de4fd0cea6e9fc1eaaf5f8c7 --

[clang] [WIP][Clang] Extend lifetime of the temporary in default member init expression (PR #86960)

2024-03-28 Thread via cfe-commits
https://github.com/yronglin created https://github.com/llvm/llvm-project/pull/86960 Fixes https://github.com/llvm/llvm-project/issues/85613. In https://github.com/llvm/llvm-project/pull/76361, we've not implement the lifetime extensions for the temporaries which in `CXXDefaultInitExpr`. As the