[all-commits] [llvm/llvm-project] 742af3: Reapply "[clang] Fix sema on ObjCLifetime conversi...

Peter Rong via All-commits all-commits at lists.llvm.org
Fri Feb 13 12:27:42 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 742af32b67c0d70ced4837fbde778ee5ea6529b4
      https://github.com/llvm/llvm-project/commit/742af32b67c0d70ced4837fbde778ee5ea6529b4
  Author: Peter Rong <peterrong96 at gmail.com>
  Date:   2026-02-13 (Fri, 13 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:
  -----------
  Reapply "[clang] Fix sema on ObjCLifetime conversion (#178524)" (#180817)

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