[all-commits] [llvm/llvm-project] bc3b44: [clang] Fix sema on ObjCLifetime conversion (#178524)
Peter Rong via All-commits
all-commits at lists.llvm.org
Tue Feb 10 09:36:04 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bc3b4462f06b988d2f5b5dec997a3bc9fcf518b6
https://github.com/llvm/llvm-project/commit/bc3b4462f06b988d2f5b5dec997a3bc9fcf518b6
Author: Peter Rong <peterrong96 at gmail.com>
Date: 2026-02-10 (Tue, 10 Feb 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
A clang/test/CodeGenObjCXX/arc-lifetime-rvalue-ref-binding.mm
A clang/test/SemaObjCXX/arc-lifetime-rvalue-ref-binding.mm
Log Message:
-----------
[clang] Fix sema on ObjCLifetime conversion (#178524)
Clang can't handle objc lifetime correctly when casting
We reuse the approach similar to lifetime: First remove it before the
conversion, then add it back.
Add a test
Fixes https://github.com/llvm/llvm-project/issues/177478
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list