[all-commits] [llvm/llvm-project] d01219: [Sema] Return RecoveryExpr for ARC atomic ownershi...
ʟᴜɴᴇx via All-commits
all-commits at lists.llvm.org
Tue Sep 29 20:57:39 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d01219d32dbe64d5a108ad644c294cf7289f28b1
https://github.com/llvm/llvm-project/commit/d01219d32dbe64d5a108ad644c294cf7289f28b1
Author: ʟᴜɴᴇx <thisissamir04 at gmail.com>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGenObjCXX/objc-atomic-ownership-recovery.mm
Log Message:
-----------
[Sema] Return RecoveryExpr for ARC atomic ownership error (#224849)
`BuiltinAtomicOverloaded` returned a bare `ExprError()` on the ARC
ownership check and made CodeGen hit `llvm_unreachable`.
so return a `RecoveryExpr` instead so bad data can't reach codegen.
Fixes #222528.
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