[clang] [LifetimeSafety] Fix capture_by argument mapping for explicit object params (PR #228979)
Zeyi Xu via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 4 23:00:04 PDT 2026
================
@@ -85,3 +85,20 @@ const int *t2(Holder h) {
std::move(h).consume();
return ptr; // expected-note {{returned here}}
}
+
+struct Set {
----------------
zeyi2 wrote:
Original godbolt: https://godbolt.org/z/zvTExWo6d
https://github.com/llvm/llvm-project/pull/228979
More information about the cfe-commits
mailing list